Update version 1.9.0

This commit is contained in:
Vincent Maillol 2021-04-04 14:02:37 +02:00
parent beb638c0af
commit 324c9b02f3
2 changed files with 11 additions and 1 deletions

View File

@ -225,6 +225,16 @@ on the same route, you must use *apps_to_expose* parameter.
oas.setup(app, apps_to_expose=[sub_app_1, sub_app_2])
You can change the title or the version of the generated open api specification using
*title_spec* and *version_spec* parameters:
.. code-block:: python3
oas.setup(app, title_spec="My application", version_spec="1.2.3")
Add annotation to define response content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -1,5 +1,5 @@
from .view import PydanticView
__version__ = "1.8.1"
__version__ = "1.9.0"
__all__ = ("PydanticView", "__version__")