Skip to content

feat: rewrite illegal keywords as extensions #10

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

Merged

Conversation

sebas2day
Copy link

fixes: #8

Included:

  • OAS3 schema to derive its allowed keywords
  • rewrite function that rewrites as an extension whenever a keyword is not allowed
  • rewrite exception for definitions
  • tests, as well as a new "events schema" example that describes an OAS discriminator that should be left intact

@sebas2day
Copy link
Author

@philsturgeon Please review whenever you have time

@philsturgeon philsturgeon merged commit d2c23e7 into openapi-contrib:master Apr 15, 2020
@sebas2day
Copy link
Author

@philsturgeon Looks like something went wrong with the semantic release, can you give it a look?

@github-actions
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@philsturgeon
Copy link
Member

Sorted. Enjoy v1.1.0.

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

Successfully merging this pull request may close these issues.

Validate if its result is indeed a OAS3 schema
2 participants