Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does docson support JSON schema v7. #75

Open
pirahana opened this issue Sep 23, 2019 · 4 comments
Open

Does docson support JSON schema v7. #75

pirahana opened this issue Sep 23, 2019 · 4 comments

Comments

@pirahana
Copy link

Hi,
I have a json schema which is not working fine with docson. I guess some problem with additional properties or with v7 update of json schema. Attaching the json schema for reference.

sample.txt

Made it txt to attach it. Convert the extension to .json to validate the docson package.

@handrews
Copy link

Note that JSON Schema draft 2019-09 (formerly known as draft-08) has been published.

This is the draft that will likely be used by OpenAPI 3.1 (see OAI/OpenAPI-Specification#1977).

@pirahana
Copy link
Author

I dont get what do you want to iterate @handrews , are you suggesting that I should move to JSON-schema draft 2019-09 and it will solve the problem.

@handrews
Copy link

@pirahana I'm just noting that if you're looking at new draft support, there is a newer draft than draft-07. I figured I'd mention it because it was literally published last week and people probably aren't that aware of it yet.

Also, since your README talks about Swagger (now known as OpenAPI), I thought you might be interested that the newest draft is what OpenAPI is likely to move to. There is no version of OpenAPI that officially worked with draft-06 or draft-07. Both Swagger/OpenAPI 2.0 and OpenAPI 3.0 more or less work with draft-04 (there was no draft-05 for... reasons).

What you do with this information is up to you.

@pirahana
Copy link
Author

Ok, I get it . Thanks @handrews for the elaboration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants