diff --git a/README.rst b/README.rst index a0a2f43..4e25f2e 100644 --- a/README.rst +++ b/README.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/aiohttp_pydantic/__init__.py b/aiohttp_pydantic/__init__.py index b8a6eec..9604bdd 100644 --- a/aiohttp_pydantic/__init__.py +++ b/aiohttp_pydantic/__init__.py @@ -1,5 +1,5 @@ from .view import PydanticView -__version__ = "1.8.1" +__version__ = "1.9.0" __all__ = ("PydanticView", "__version__")