Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Montes (0.15 sec)

  1. fastapi/openapi/docs.py

                """
            ),
        ] = "https://fastapi.tiangolo.com/img/favicon.png",
        with_google_fonts: Annotated[
            bool,
            Doc(
                """
                Load and use Google Fonts.
                """
            ),
        ] = True,
    ) -> HTMLResponse:
        """
        Generate and return the HTML response that loads ReDoc for the alternative
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. tests/test_sub_callbacks.py

    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: Optional[HttpUrl] = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        # Vocabularies for Semantic Content With "format"
        format: Optional[str] = None
        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-the-conten
        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: Optional[str] = None
        contentMediaType: Optional[str] = None
        contentSchema: Optional["SchemaOrBool"] = 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

                    terms_of_service=self.terms_of_service,
                    contact=self.contact,
                    license_info=self.license_info,
                    routes=self.routes,
                    webhooks=self.webhooks.routes,
                    tags=self.openapi_tags,
                    servers=self.servers,
                    separate_input_output_schemas=self.separate_input_output_schemas,
                )
    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)
  5. docs_src/extending_openapi/tutorial001.py

            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
            description="Here's a longer description of the custom **OpenAPI** schema",
            routes=app.routes,
        )
        openapi_schema["info"]["x-logo"] = {
            "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png"
        }
        app.openapi_schema = openapi_schema
        return app.openapi_schema
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 737 bytes
    - Viewed (0)
  6. fastapi/routing.py

                    """
                ),
            ] = None,
            routes: Annotated[
                Optional[List[BaseRoute]],
                Doc(
                    """
                    **Note**: you probably shouldn't use this parameter, it is inherited
                    from Starlette and supported for compatibility.
    
                    ---
    
                    A list of routes to serve incoming HTTP and WebSocket requests.
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  7. tests/test_generate_unique_id_function.py

        @app.post(
            "/",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
            generate_unique_id_function=custom_generate_unique_id3,
            callbacks=callback_router.routes,
        )
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @app.post(
            "/tocallback",
            response_model=List[Item],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top