swagger-parser icon indicating copy to clipboard operation
swagger-parser copied to clipboard

OpenAPI Specification 3.1 Support

Open whoareyoukid opened this issue 7 months ago • 1 comments

The readme file states that this parser supports only Swagger 2.0 and OAS 3.0 schemas. I have tried validating OAS 3.1 documents and it seems to work fine, even in the cases where there are major structural changes. Looking at the code, it appears to be supported.

As OAS 3.1 has breaking changes, I request for a confirmation on whether this parser can also validate against OAS 3.1 (both 3.1.0 and 3.1.1)?

If so, I would request the documentations to be updated accordingly.

whoareyoukid avatar May 30 '25 09:05 whoareyoukid

@whoareyoukid could you send tests covering cases with OAS 3.1 documents, before it is officially documented?

kibertoad avatar Aug 05 '25 11:08 kibertoad