mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-11 04:19:36 +00:00
Fixed coroutinefunction verification when has async def. It is necessary because there's no @asyncio.coroutine decorator to validate
6 lines
149 B
Python
6 lines
149 B
Python
from connexion.lifecycle import ConnexionResponse
|
|
|
|
|
|
async def aiohttp_validate_responses():
|
|
return ConnexionResponse(body=b'{"validate": true}')
|