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

  • validate request body and querystring data,

  • validate response JSON,

  • validate WebSocket JSON messages,

  • generate OpenAPI documentation from the validation,

  • on top of everything Quart can do.

with Quart-Schema’s validation based on the excellent pydantic library.

If you are,

Quart-Schema is developed on GitLab. If you come across an issue, or have a feature request please open an issue.If you want to contribute a fix or the feature-implementation please do (typo fixes welcome), by proposing a merge request. If you want to ask for help try on gitter.


How to guides