mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-10 04:19:37 +00:00
Signed-off-by: Sławomir Zborowski <slawomir.zborowski@nokia.com>
This commit is contained in:
committed by
GitHub
parent
aafc80add7
commit
bed4b95205
@@ -1,12 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
import asyncio
|
||||
|
||||
import connexion
|
||||
from aiohttp import web
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
def post_greeting(name):
|
||||
async def post_greeting(name):
|
||||
return web.Response(text='Hello {name}'.format(name=name))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user