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

Corrected pattern regex dialect link #1987

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

ricellis
Copy link
Contributor

Fixes #1985

As per the discussion there and in the associated issue json-schema-org/json-schema-spec#774 and fix json-schema-org/json-schema-spec#775 the correct section of ECMA 262 to describe the accepted regular expression dialect for the pattern element is 15.10.1 not 7.8.5.

This corrects the link in the OpenAPI specification to avoid the misunderstanding that the pattern field should accept an ECMA 262 regex literal when it only accepts a regex body pattern.

Copy link
Member

@MikeRalphson MikeRalphson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

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.

4 participants