From 324c9b02f3f9f3465a12aaacc9b2ce2ffd04d634 Mon Sep 17 00:00:00 2001 From: Vincent Maillol Date: Sun, 4 Apr 2021 14:02:37 +0200 Subject: [PATCH] Update version 1.9.0 --- README.rst | 10 ++++++++++ aiohttp_pydantic/__init__.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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__")