From b78c894ca211722b0cdebd246e48380b8b389dd2 Mon Sep 17 00:00:00 2001 From: Vladimir Kurgansky <82367817+KurganskyVladimir@users.noreply.github.com> Date: Thu, 14 Apr 2022 11:54:11 +0300 Subject: [PATCH] Fix return type for setup_aiohttp_apispec Now setup_aiohttp_apispec returns AiohttpApiSpec instance and we need to fix return type. --- aiohttp_apispec/aiohttp_apispec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp_apispec/aiohttp_apispec.py b/aiohttp_apispec/aiohttp_apispec.py index 7160bdd..ddcd008 100644 --- a/aiohttp_apispec/aiohttp_apispec.py +++ b/aiohttp_apispec/aiohttp_apispec.py @@ -243,7 +243,7 @@ def setup_aiohttp_apispec( prefix: str = '', schema_name_resolver: Callable = resolver, **kwargs, -) -> None: +) -> AiohttpApiSpec: """ aiohttp-apispec extension.