Виправити свагер. Актуалізувати
изза того что свагер читает докстринг который не может разобрать
анотация свагера дожна быть отделена от докстринга с помошью ---
например вот так
async def ping(request):
"""
Test that application is up. Return "pong" json if operation is successful.
Args:
request (object): Request.
Returns:
aiohttp.web.Response: Response object.
---
description: This end-point allow to test that service is up.
tags:
- Health check
produces:
- text/plain
responses:
"200":
description: successful operation. Return "pong" text
"405":
description: invalid HTTP Method
"""
return web.Response(text="pong")
со значением defaults надо разобраться отдельно