Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 740 for openapi (0.56 sec)

  1. docs/en/data/topic_repos.yml

      stars: 1885
      owner_login: ycd
      owner_html_url: https://github.com/ycd
    - name: openapi-python-client
      html_url: https://github.com/openapi-generators/openapi-python-client
      stars: 1862
      owner_login: openapi-generators
      owner_html_url: https://github.com/openapi-generators
    - name: piccolo
      html_url: https://github.com/piccolo-orm/piccolo
      stars: 1836
      owner_login: piccolo-orm
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 13:17:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "info": {
                "title": "FastAPI",
                "version": "0.1.0",
            },
            "openapi": "3.1.0",
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                },
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        elif mod_name.startswith("tutorial003"):
            tags_schema.update(SET_OF_STR_SCHEMA)
    
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params-str-validations.md

    On peut aussi ajouter plus d'informations sur le paramètre.
    
    Ces informations seront incluses dans le schéma `OpenAPI` généré et utilisées par la documentation interactive ou les outils externes utilisés.
    
    /// note
    
    Gardez en tête que les outils externes utilisés ne supportent pas forcément tous parfaitement OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/static-files.md

    Dies unterscheidet sich von der Verwendung eines `APIRouter`, da eine gemountete Anwendung völlig unabhängig ist. Die OpenAPI und Dokumentation Ihrer Hauptanwendung enthalten nichts von der gemounteten Anwendung, usw.
    
    Weitere Informationen hierzu finden Sie im [Handbuch für fortgeschrittene Benutzer](../advanced/index.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. docs_src/conditional_openapi/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        openapi_url: str = "/openapi.json"
    
    
    settings = Settings()
    
    app = FastAPI(openapi_url=settings.openapi_url)
    
    
    @app.get("/")
    def root():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 281 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_multiple_params/test_tutorial004.py

                    "ctx": {"gt": 0},
                },
            ],
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/reference/security/index.md

    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    You can import them from `fastapi.security`:
    
    ```python
    from fastapi.security import (
        APIKeyCookie,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/features.md

    ### 建立在開放標準的基礎上
    
    * 使用 <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank"><strong>OpenAPI</strong></a> 來建立 API,包含<abbr title="path,也被叫做: endpoints, routes">路徑</abbr><abbr title="也叫做 HTTP 方法,例如 POST, GET, PUT, DELETE">操作</abbr>、參數、請求內文、安全性等聲明。
    * 使用 <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a>(因為 OpenAPI 本身就是基於 JSON Schema)自動生成資料模型文件。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top