Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 133 for ReDoc (0.03 seconds)

  1. docs/zh/docs/how-to/conditional-openapi.md

    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    然后如果你访问 `/openapi.json`、`/docs` 或 `/redoc`,就会得到一个 `404 Not Found` 错误,例如:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. docs/ja/docs/how-to/conditional-openapi.md

    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    すると、以下のように `/openapi.json`, `/docs`, `/redoc` のどのURLにアクセスしても、 `404 Not Found` エラーが返ってくるようになります。
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. tests/test_application.py

        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    def test_redoc():
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "redoc@2" in response.text
    
    
    def test_enum_status_code_response():
        response = client.get("/enum-status-code")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  4. docs/zh/docs/alternatives.md

    因此,在谈到 2.0 版本时人们常说 “Swagger”,而 3+ 版本则称为 “OpenAPI”。
    
    /// check | 启发 **FastAPI**:
    
    采用并使用开放的 API 规范标准,而非自定义模式。
    
    并集成基于标准的用户界面工具:
    
    * [Swagger UI](https://github.com/swagger-api/swagger-ui)
    * [ReDoc](https://github.com/Rebilly/ReDoc)
    
    选择这两者是因为它们相当流行且稳定;但稍作搜索,你就能找到数十种 OpenAPI 的替代用户界面(都可以与 **FastAPI** 搭配使用)。
    
    ///
    
    ### Flask REST 框架 { #flask-rest-frameworks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  5. docs/en/docs/alternatives.md

    Adopt and use an open standard for API specifications, instead of a custom schema.
    
    And integrate standards-based user interface tools:
    
    * [Swagger UI](https://github.com/swagger-api/swagger-ui)
    * [ReDoc](https://github.com/Rebilly/ReDoc)
    
    These two were chosen for being fairly popular and stable, but doing a quick search, you could find dozens of alternative user interfaces for OpenAPI (that you can use with **FastAPI**).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs/en/data/translation_reviewers.yml

      url: https://github.com/LorhanSohaky
    black-redoc:
      login: black-redoc
      count: 29
      avatarUrl: https://avatars.githubusercontent.com/u/18581590?u=7b6336166d0797fbbd44ea70c1c3ecadfc89af9e&v=4
      url: https://github.com/black-redoc
    pedabraham:
      login: pedabraham
      count: 28
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 07:31:54 GMT 2026
    - 66K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/alternatives.md

    因此,談到 2.0 版時常說「Swagger」,而 3+ 版則是「OpenAPI」。
    
    /// check | 啟發 **FastAPI**
    
    採用並使用開放的 API 規格標準,而非自訂格式。
    
    並整合基於標準的使用者介面工具:
    
    * [Swagger UI](https://github.com/swagger-api/swagger-ui)
    * [ReDoc](https://github.com/Rebilly/ReDoc)
    
    選擇這兩個是因為它們相當受歡迎且穩定,但稍加搜尋,你會發現有數十種 OpenAPI 的替代使用者介面(都能與 **FastAPI** 一起使用)。
    
    ///
    
    ### Flask 的 REST 框架 { #flask-rest-frameworks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  8. docs/ru/docs/how-to/custom-docs-ui-assets.md

    * [`swagger-ui.css`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css)
    
    А **ReDoc** использует файл:
    
    * [`redoc.standalone.js`](https://cdn.jsdelivr.net/npm/redoc@2/bundles/redoc.standalone.js)
    
    После этого структура файлов может выглядеть так:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
        └── swagger-ui.css
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  9. docs/uk/docs/how-to/extending-openapi.md

    Використовуючи наведене вище, ви можете скористатися тією ж утилітарною функцією для генерації схеми OpenAPI і переписати потрібні частини.
    
    Наприклад, додаймо [розширення OpenAPI ReDoc для додавання власного логотипа](https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo).
    
    ### Звичайний **FastAPI** { #normal-fastapi }
    
    Спочатку напишіть ваш застосунок **FastAPI** як зазвичай:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. docs/tr/docs/how-to/custom-docs-ui-assets.md

    * [`swagger-ui.css`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css)
    
    **ReDoc** ise şu dosyayı kullanır:
    
    * [`redoc.standalone.js`](https://cdn.jsdelivr.net/npm/redoc@2/bundles/redoc.standalone.js)
    
    Bundan sonra dosya yapınız şöyle görünebilir:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
        └── swagger-ui.css
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top