Closed btcorgtfo closed 1 year ago
hi,
unfortunately async def routes are not working with an
async def
app = OpenAPI(__name__)
simple route which should work
@app.get("/async_test") async def async_test(): return "hi"
if i change to app = Flask(__name__) the route returns "hi".
app = Flask(__name__)
any chance this is only a small issue, so async routes can be used with OpenAPI3?
Currently, the async api is not supported. I will add support in the next version.
I have completed the preliminary support in PR #49 .
should have checked this single open PR first before complaining. Thanks!
hi,
unfortunately
async def
routes are not working with anapp = OpenAPI(__name__)
simple route which should work
if i change to
app = Flask(__name__)
the route returns "hi".any chance this is only a small issue, so async routes can be used with OpenAPI3?