Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for identifier (0.18 sec)

  1. docs_src/metadata/tutorial001_1.py

            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "******@****.***",
        },
        license_info={
            "name": "Apache 2.0",
            "identifier": "MIT",
        },
    )
    
    
    @app.get("/items/")
    async def read_items():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 767 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                    "url": "http://x-force.example.com/contact/",
                    "email": "******@****.***",
                },
                "license": {
                    "name": "Apache 2.0",
                    "identifier": "MIT",
                },
                "version": "0.0.1",
            },
            "paths": {
                "/items/": {
                    "get": {
                        "summary": "Read Items",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

    
    class Contact(BaseModelWithConfig):
        name: Optional[str] = None
        url: Optional[AnyUrl] = None
        email: Optional[EmailStr] = None
    
    
    class License(BaseModelWithConfig):
        name: str
        identifier: Optional[str] = None
        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
        summary: Optional[str] = None
        description: Optional[str] = None
    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. fastapi/applications.py

                    * `name`: (`str`) **REQUIRED** (if a `license_info` is set). The
                        license name used for the API.
                    * `identifier`: (`str`) An [SPDX](https://spdx.dev/) license expression
                        for the API. The `identifier` field is mutually exclusive of the `url`
                        field. Available since OpenAPI 3.1.0, FastAPI 0.99.0.
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top