Configuring Quart-Schema#

The following configuration options are used by Quart-Schema. They should be set as part of the standard Quart configuration.

Configuration key

type

QUART_SCHEMA_CONVERSION_PREFERENCE

str

QUART_SCHEMA_SWAGGER_JS_URL

str

QUART_SCHEMA_SWAGGER_CSS_URL

str

QUART_SCHEMA_REDOC_JS_URL

str

QUART_SCHEMA_BY_ALIAS

bool

QUART_SCHEMA_CONVERT_CASING

bool

which allow the js and css for the documentation UI to be changed and configured and specifies that responses that are Pydantic models should be converted to JSON by the field alias names (if QUART_SCHEMA_BY_ALIAS is True).