maximdanilchenko / aiohttp-apispec

Build and document REST APIs with aiohttp and apispec
https://aiohttp-apispec.rtfd.io
MIT License
220 stars 58 forks source link

support openapi 3.0 #46

Open zhenhua32 opened 5 years ago

zhenhua32 commented 5 years ago

Is there any plan support openapi 3.0 ?

maximdanilchenko commented 5 years ago

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.

rugleb commented 2 years ago

Any updates?

ondrejkajinek commented 2 years ago

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

arcan1s commented 1 year ago

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