Version 2.3.0
Changed
- OpenAPI fields are permanently moved to OpenAPIConfig
making the codebase cleaner. The options are still available viasettings
in case of wanting to
override the defaults but not via instantiation parameters. Via instantiation theOpenAPIConfig
is the
one to be used.
!!! Warning
This is a breaking change. The functionality itself still works as it is supposed to but from now on
instead of passing via Esmerald instance, you need to pass the variables via OpenAPIConfig.
object instead.
Added
- Annotated for documentation generators.
- Add new documentation structure for Esmerald base.
- Add API Reference . #196
Fixed
- Allow tags for levels. When a tag is added to an
Include
,Gateway
, or any other level,
the tags are appended to the final handler. This allows inheriting from existing tags for OpenAPI. Middleware
on levels treating each level as an independent ASGI app.