apis_core.generic.schema#

Module Contents#

Classes#

GenericAutoSchema

Add an option to the default drf_spectacular schema that allows to set the tags of a route via the model.

API#

class apis_core.generic.schema.GenericAutoSchema[source]#

Bases: drf_spectacular.openapi.AutoSchema

Add an option to the default drf_spectacular schema that allows to set the tags of a route via the model.

Initialization

get_tags() → list[str][source]#