Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for generator (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/param_functions.py

                It will affect the generated OpenAPI (e.g. visible at `/docs`).
                """
            ),
        ] = None,
        include_in_schema: Annotated[
            bool,
            Doc(
                """
                To include (or not) this parameter field in the generated OpenAPI.
                You probably don't need it, but it's available.
    
                This affects the generated OpenAPI (e.g. visible at `/docs`).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  2. fastapi/routing.py

                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
                    SDKs for your API.
    
                    Read more about it in the
                    [FastAPI docs about how to Generate Clients](https://fastapi.tiangolo.com/advanced/generate-clients/#custom-generate-unique-id-function).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  3. docs/en/docs/release-notes.md

    * Fix OpenAPI/JSON Schema generation for two functions with the same name (in different modules) with the same composite bodies.
        * Composite bodies' IDs are now based on path, not only on route name, as the auto-generated name uses the function names, that can be duplicated in different modules.
        * The same new ID generation applies to response models.
        * This also changes the generated title for those models.
    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)
  4. .pre-commit-config.yaml

            args:
              - --update-existing
            files: ^docs/en/docs/.*\.md$
    
          - id: generate-readme
            language: unsupported
            name: generate README.md from index.md
            entry: uv run ./scripts/docs.py generate-readme
            files: ^docs/en/docs/index\.md|docs/en/data/sponsors\.yml|scripts/docs\.py$
            pass_filenames: false
    
          - id: update-languages
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 11:36:58 GMT 2025
    - 1.8K bytes
    - Click Count (1)
  5. pyproject.toml

        "jinja2 >=3.1.5",
        # For forms and file uploads
        "python-multipart >=0.0.18",
        # For Starlette's SessionMiddleware, not commonly used with FastAPI
        "itsdangerous >=1.1.0",
        # For Starlette's schema generation, would not be used with FastAPI
        "pyyaml >=5.3.1",
        # For UJSONResponse
        "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0",
        # For ORJSONResponse
        "orjson >=3.2.1",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            assert response.json() == snapshot(
                {"age": 30, "id": IsInt(), "name": "Dead Pond"}
            )
            assert response.json()["id"] != 9000, (
                "The ID should be generated by the database"
            )
    
            # Read a hero
            hero_id = response.json()["id"]
            response = client.get(f"/heroes/{hero_id}")
            assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  7. fastapi/openapi/utils.py

            current_response_class: type[Response] = route.response_class.value
        else:
            current_response_class = route.response_class
        assert current_response_class, "A response class is needed to generate OpenAPI"
        route_response_media_type: Optional[str] = current_response_class.media_type
        if route.include_in_schema:
            for method in route.methods:
                operation = get_openapi_operation_metadata(
    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)
  8. fastapi/openapi/models.py

        dependentSchemas: Optional[dict[str, "SchemaOrBool"]] = None
        prefixItems: Optional[list["SchemaOrBool"]] = None
        # TODO: uncomment and remove below when deprecating Pydantic v1
        # It generates a list of schemas for tuples, before prefixItems was available
        # items: Optional["SchemaOrBool"] = None
        items: Optional[Union["SchemaOrBool", list["SchemaOrBool"]]] = None
        contains: Optional["SchemaOrBool"] = None
    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)
  9. .bazelrc

    # LINT.IfChange
    # Default build options. These are applied first and unconditionally.
    
    # These are used to generate the ML wheel version string.
    # See the explanation in the file comment of
    # @local_xla//third_party/py/python_wheel.bzl.
    # The generated version suffix is used in
    # third_party/tensorflow/core/public/release_version.h and
    # third_party/tensorflow/tools/pip_package/setup.oss.py.tpl
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  10. fastapi/_compat/v2.py

            (field.validation_alias or field.alias)
            if field.mode == "validation"
            else (field.serialization_alias or field.alias)
        )
    
        # This expects that GenerateJsonSchema was already used to generate the definitions
        json_schema = field_mapping[(field, override_mode or field.mode)]
        if "$ref" not in json_schema:
            # TODO remove when deprecating Pydantic v1
    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)
Back to Top