Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 168 for Scheme (0.05 seconds)

  1. tests/test_security_oauth2_optional_description.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. scripts/translate.py

            /// details | Vista previa
            »»»
    
    
    ### Tab blocks
    
    There are special blocks surrounded by four slashes («////»). They mark text, which will be rendered as part of a tab in the final document. The scheme is:
    
        //// tab | {tab title}
        {tab content, may span many lines}
        ////
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_security/test_tutorial007.py

                    }
                }
            },
            "components": {
                "securitySchemes": {"HTTPBasic": {"type": "http", "scheme": "basic"}}
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. fastapi/openapi/utils.py

    }
    
    
    def get_openapi_security_definitions(
        flat_dependant: Dependant,
    ) -> tuple[dict[str, Any], list[dict[str, Any]]]:
        security_definitions = {}
        # Use a dict to merge scopes for same security scheme
        operation_security_dict: dict[str, list[str]] = {}
        for security_dependency in flat_dependant._security_dependencies:
            security_definition = jsonable_encoder(
                security_dependency._security_scheme.model,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. fastapi/openapi/models.py

        url: AnyUrl
    
    
    # Ref JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation#name-type
    SchemaType = Literal[
        "array", "boolean", "integer", "null", "number", "object", "string"
    ]
    
    
    class Schema(BaseModelWithConfig):
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-the-json-schema-core-vocabu
        # Core Vocabulary
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

    * 🐛 Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes. PR [#14459](https://github.com/fastapi/fastapi/pull/14459) by [@tiangolo](https://github.com/tiangolo).
    
    ## 0.123.8
    
    ### Fixes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  7. tests/test_application.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  8. fastapi/_compat/v2.py

    
    def _replace_refs(
        *,
        schema: dict[str, Any],
        old_name_to_new_name_map: dict[str, str],
    ) -> dict[str, Any]:
        new_schema = deepcopy(schema)
        for key, value in new_schema.items():
            if key == "$ref":
                value = schema["$ref"]
                if isinstance(value, str):
                    ref_name = schema["$ref"].split("/")[-1]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001_02.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top