tapir icon indicating copy to clipboard operation
tapir copied to clipboard

Openapi 3.1 support in the model

Open hamnis opened this issue 4 years ago • 7 comments

https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0

hamnis avatar Apr 08 '21 07:04 hamnis

Related: https://github.com/swagger-api/swagger-ui/issues/5891

adamw avatar Apr 29 '21 13:04 adamw

So far, I added new fields for 3.1.0 OpenAPI model.

rojekp avatar May 17 '21 09:05 rojekp

We have to wait until Swagger supports 3.1

adamw avatar May 17 '21 09:05 adamw

Is it a possibility that tapir maintains support for both 3.0.x and 3.1 for some time? I understand Swagger is the immediate blocker, but even after that there might be other tooling that may still be stuck on 3.0.x 🤔

I'm a bit careful with this request though, because it will be a burden for the maintainers of this repository.

yoohaemin avatar May 20 '22 11:05 yoohaemin

@yoohaemin I think we'll rather switch to 3.1 at some point. Maintaining two branches might be problematic. But not impossible - would be a matter of creating two separate documentation interpreters.

adamw avatar May 20 '22 12:05 adamw

But please vote on the issue (with 👍 ) so that we can see how popular it is :)

adamw avatar May 20 '22 12:05 adamw

We've switched from swagger-ui to stoplight elements, as it gives a much nicer view of our API, and stoplight elements supports openapi 3.1

LeifW avatar Jun 09 '22 23:06 LeifW

This is already done in the model, will be supported once swagger 5.0 is done in #2958

adamw avatar Jun 15 '23 07:06 adamw