aiohttp-apispec icon indicating copy to clipboard operation
aiohttp-apispec copied to clipboard

support openapi 3.0

Open zhenhua32 opened this issue 5 years ago • 4 comments

Is there any plan support openapi 3.0 ?

zhenhua32 avatar Mar 21 '19 07:03 zhenhua32

Yes, I have such plans, and it is quite easy to implement (apispec has this feature). There will be an extra argument with openapi version.

maximdanilchenko avatar Mar 21 '19 14:03 maximdanilchenko

Any updates?

rugleb avatar Feb 11 '22 08:02 rugleb

#123 Similar PR, up to date with code, also provides correct schema for response body.

ondrejkajinek avatar Apr 05 '22 14:04 ondrejkajinek

according to apispec docs in: body parameter is not allowed for openapi 3.0. In fact, stoplight elements (https://elements-demo.stoplight.io/) doesn't render such parameters and is awaiting them in requestBody section

The issue persists with the latest git version

arcan1s avatar Mar 28 '23 12:03 arcan1s