Quart-schema

Latest version: v0.21.0

Safety actively analyzes 715033 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.21.0

-----------------

* Add a OpenAPIProvider to allow for customisation.
* Raise a RuntimeError on request validation if neither pydantic nor
msgspec are installed.
* Switch from ResponseHeadersValidationError to RuntimeError if a
Response is attempted to be validated.

0.20.1

-----------------

* Bugfix any converter to openapi schema
* Bugfix ensure the OpenAPI field names are camelized.
* Support Python 3.13, drop Python 3.8.

0.20.0

-----------------

* Bugfix the pydantic dataclass check.
* Bugfix list model class handling and type identification.
* Bugfix form multiselect request validation.
* Bugfix the deprecate decorator was meant to be called without
arguments (this is backwards incompatible).
* Bugfix using msgspec without attrs
* Enhance pydantic model schema generation to utilise the schema mode
as serialization for response models.
* Support all Pydantic dump options. This replaces
``QUART_SCHEMA_BY_ALIAS=True`` config value with the QuartSchema
constructor argument ``pydantic_dump_options={"by_alias: True}`` or
the ``QUART_SCHEMA_PYDANTIC_DUMP_OPTIONS`` config value.

0.19.1

-----------------

* Bugfix the Scalar template.
* Improve the error message if neither msgpec nor pydantic installed.
* Use msgpec JSON conversion if Pydantic isn't installed.

0.19.0

-----------------

* Support msgspec and attrs alongside Pydantic. This results in
pydantic being an optional extra (install quart-schema[pydantic] to
continue previous usage).
* Add ScalaR documentation UI support.
* Switch the openapi structure classes to stdlib dataclasses.
* Improve the make_response performance for pydantic dataclasses.
* Simplify the pydantic usage via the TypeAdapter thereby allowing for
list and dict top level models.

0.18.0

-----------------

* Render Werkzeug's any() route parameters as enum in OpenAPI.
* Support Quart 0.19 onwards.
* Support Python 3.12 drop Python 3.7.
* Bugfix WebSocket validation check for convert casing config param.
* Bugfix handle status/headers when returning a Response.
* Fix pydantic deprecation warnings.

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.