openapi-core icon indicating copy to clipboard operation
openapi-core copied to clipboard

Add support for OpenAPI v3.1

Open sisp opened this issue 4 years ago • 4 comments

OpenAPI v3.1 was released today: https://www.openapis.org/blog/2021/02/18/openapi-specification-3-1-released

It comes with some great improvements. Are there plans to add support for the new specification?

sisp avatar Feb 18 '21 18:02 sisp

jsonschema must get support for v2020-12 draft first

https://github.com/Julian/jsonschema/issues/782

p1c2u avatar Feb 25 '21 16:02 p1c2u

Do we have an expectation as to when we can expect support for 3.1? I guess it's still stuck by the jsonschema issue?

alanbchristie avatar Jul 14 '21 14:07 alanbchristie

@p1c2u Support for v2020-12 draft is released with Jsonschema 4.0.0. ( They have termed it as partial support due to https://github.com/Julian/jsonschema/issues/782#issuecomment-930621844 )

gk12277 avatar Oct 04 '21 06:10 gk12277

Here's depndency matrix proposal

OAS 3.0 3.0 3.1
python 2.7+ 3.7+ 3.7+
jsonschema 2.x-4.x 3.x-4.x 4.x+
openapi-schema-validator 0.1.x-0.2.x 0.2.x 0.3.x
openapi-spec-validator 0.3.x-0.4.x 0.4.x 0.5.x
openapi-core 0.14.x 0.15.x 0.16.x

p1c2u avatar Jan 24 '22 15:01 p1c2u