skbkontur / perl-jsonschema-validator

JSON Schema and OpenAPI data validator for Perl
Other
8 stars 4 forks source link

Plan to add OAS 3.1 #2

Open Logioniz opened 3 years ago

Logioniz commented 3 years ago

OpenAPI 3.1 specification based on JSON Schema Draft 2020-12.

It looks like that first thing that need to do is add support for draft 2020-12.

Along the way, I decided to implement a draft6, draft7, draft 2019-09.

ehuelsmann commented 2 years ago

@Logioniz How would we go about adding support for the 2020-12 draft? I mean, I looked at OpenAPI::Modern, which implements OAS 3.1, but it depends on Mojo/Mojolicious. I'd rather have a module which does not. For the moment, I think there's no reason for me to migrate to OAS 3.1 yet, but I'm starting to build what I estimate to become quite an extensive API, so starting with the lastest (i.e. 3.1) gives me at least "more future" in which I won't need to port to newer versions....

Logioniz commented 2 years ago

@ehuelsmann About a year ago, I tried to read the 2019 draft 2 times, but I never finished reading it. At the moment, the problem is just finding time(

karenetheridge commented 2 years ago

I looked at OpenAPI::Modern, which implements OAS 3.1, but it depends on Mojo/Mojolicious.

What's the objection to Mojolicious? It has very few dependencies of its own, and installs quickly.