Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for expand (0.14 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    !!! tip
        This is a low level extension point.
    
        If you only need to declare additional responses, a more convenient way to do it is with [Additional Responses in OpenAPI](additional-responses.md){.internal-link target=_blank}.
    
    You can extend the OpenAPI schema for a *path operation* using the parameter `openapi_extra`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. fastapi/routing.py

                        current_tags.extend(tags)
                    if route.tags:
                        current_tags.extend(route.tags)
                    current_dependencies: List[params.Depends] = []
                    if dependencies:
                        current_dependencies.extend(dependencies)
                    if route.dependencies:
                        current_dependencies.extend(route.dependencies)
    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)
  3. fastapi/_compat.py

                        errors=[error], model=RequestErrorModel
                    ).errors()
                    use_errors.extend(new_errors)
                elif isinstance(error, list):
                    use_errors.extend(_normalize_errors(error))
                else:
                    use_errors.append(error)
            return use_errors
    
        def _model_rebuild(model: Type[BaseModel]) -> None:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

        You can set `schema_extra` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    !!! tip
        You could use the same technique to extend the JSON Schema and add your own custom extra info.
    
        For example you could use it to add metadata for a frontend user interface, etc.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top