quart-schema icon indicating copy to clipboard operation
quart-schema copied to clipboard

Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.

Results 18 quart-schema issues
Sort by recently updated
recently updated
newest added

## Issue Currently quart-schema only has a `/openapi.json` route to serve the OpenAPI schema. This is not ideal for some use cases, such as when external tools require the schema...

Apologies if I missed it, but is there a way to exclude unset parameters from the generated response? Similar to [FASTAPI's response_model_exclude_unset](https://fastapi.tiangolo.com/tutorial/response-model/#use-the-response_model_exclude_unset-parameter) parameter? As far as I can tell, it...

I'm interested in using quart-schema as a drop-in replacement for [apiflask](https://github.com/apiflask/apiflask) to generate OpenAPI documentation for my application. So far, I've been able to use `validate_response` to generate relevant documentation...

The [docs says](https://quart-schema.readthedocs.io/en/latest/tutorials/validation_library.html#lists) that it is supported. Model: ``` class Position(BaseModel): account_number: PositiveInt symbol: str type: str volume: NonNegativeFloat profit: float swap: NonNegativeFloat ticket: PositiveInt ``` Views: ``` from quart...

This is minor issue in example documentation for deprecated routes. Ref: [Deprecating routes](https://quart-schema.readthedocs.io/en/latest/how_to_guides/documenting.html#deprecating-routes) ```python @app.route("/") @deprecate # missing call async def index(): ... ```

Enhance pydantic model schema generation - For pydantic based models, enhance the Open API schema generation by differentiating between "validation" and "serialization" models. - The default mode used by the...

This is needed to support Server Sent Events or Streaming not only in validation step but for the generated SwaggerUI API docs as well.

When using a FORM Datasource, if a multiselect field is present, quart-schema will fail to validate the data. This is because MultiDict.to_dict() returns only the first occurrence of each key...