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

PatternProperties are not supported #1521

Closed
wants to merge 1 commit into from
Closed

PatternProperties are not supported #1521

wants to merge 1 commit into from

Conversation

philsturgeon
Copy link
Contributor

This keyword is supported by draft-wright-json-schema-validation-00 but is not supported by OpenAPI. As such we gotta list it on the spec along with other discrepencies.

This keyword is supported by [draft-wright-json-schema-validation-00](https://tools.ietf.org/html/draft-wright-json-schema-validation-00#section-5.17) but is not supported by OpenAPI. As such we gotta list it on the spec along with other discrepencies.'
@MikeRalphson
Copy link
Member

@philsturgeon This difference is currently covered by the spec as follows:

Additional properties defined by the JSON Schema specification that are not mentioned here are strictly unsupported.

It would seem odd to additionally call out patternProperties but not dependencies, id or $schema for example.

If you think the differences should be enumerated, could you

@philsturgeon
Copy link
Contributor Author

Ah you're right that's already covered. Fair enough.

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

Successfully merging this pull request may close these issues.

2 participants