Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Tag (0.14 sec)

  1. docs/en/docs/advanced/generate-clients.md

    In this case you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    But we want to be smarter and simplify the code a bit.
    
    We know all the *path operations* in this module have the same:
    
    * Path `prefix`: `/items`.
    * `tags`: (just one tag: `items`).
    * Extra `responses`.
    * `dependencies`: they all need that `X-Token` dependency we created.
    
    So, instead of adding all that to each *path operation*, we can add it to the `APIRouter`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        # Using Any for Specification Extensions
        callbacks: Optional[Dict[str, Union[Dict[str, PathItem], Reference, Any]]] = None
        pathItems: Optional[Dict[str, Union[PathItem, Reference]]] = None
    
    
    class Tag(BaseModelWithConfig):
        name: str
        description: Optional[str] = None
        externalDocs: Optional[ExternalDocumentation] = None
    
    
    class OpenAPI(BaseModelWithConfig):
        openapi: str
        info: Info
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. docs/en/docs/release-notes.md

    ## 0.87.0
    
    Highlights of this release:
    
    * [Upgraded Starlette](https://github.com/encode/starlette/releases/tag/0.21.0)
        * Now the `TestClient` is based on HTTPX instead of Requests. 🚀
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top