Skip to content

PatternProperties are not supported#1521

Closed
philsturgeon wants to merge 1 commit intoOAI:masterfrom
philsturgeon:json-schema-pattern-properties
Closed

PatternProperties are not supported#1521
philsturgeon wants to merge 1 commit intoOAI:masterfrom
philsturgeon:json-schema-pattern-properties

Conversation

@philsturgeon
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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