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

Make AsyncAPI schemas conform to JSON schema #76

Closed
fmvilas opened this issue May 1, 2018 · 2 comments
Closed

Make AsyncAPI schemas conform to JSON schema #76

fmvilas opened this issue May 1, 2018 · 2 comments

Comments

@fmvilas
Copy link
Member

fmvilas commented May 1, 2018

As Phil Sturgeon pointed out in his articles (this and this), the divergence between JSON Schema and OpenAPI schema (which AsyncAPI is identical to) is causing some problems.

At this point, given that AsyncAPI is still in its early stages and I'm collecting breaking changes for version 2.0.0, I wonder if it would be a good idea to make AsyncAPI schemas conform to a more recent JSON Schema version (maybe 6 or 7?).

As an addition, we could also implement the alternate-schema keyword proposed here (without the x-oas-draft). But, IMHO, that's another issue.

Thoughts? @MikeRalphson @bpedro @philsturgeon @darrelmiller

@philsturgeon
Copy link

That would be amazing, please fully support actual JSON Schema, at least 6 but hopefully draft 7.

There would be an element of "This is just like OpenAPI, but different, we use actual JSON Schema instead of JSON Kindaschema" and then everyone will be fine.

@fmvilas
Copy link
Member Author

fmvilas commented Feb 2, 2019

I'm closing this issue since AsyncAPI 2.0.0 will support multiple schemas, and therefore any JSON Schema version, including the OAS flavor 🎉

Will update soon but feel free to ask any questions.

@fmvilas fmvilas closed this as completed Feb 2, 2019
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