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

[REQ] How about adding unit tests that use json schema test cases? #12705

Closed
spacether opened this issue Jun 27, 2022 · 1 comment
Closed

[REQ] How about adding unit tests that use json schema test cases? #12705

spacether opened this issue Jun 27, 2022 · 1 comment

Comments

@spacether
Copy link
Contributor

spacether commented Jun 27, 2022

Is your feature request related to a problem? Please describe.

How about adding unit tests that use json schema test cases?

Describe the solution you'd like

Parse the json test case schemas and check that schema properties are set correctly.

openapi-version json-schema-version json schema tests
3.1.0 2020-12/draft-bhutton-json-schema-00 draft2020-12
3.0.3 Draft5/draft-wright-json-schema-00 None: Draft 5 wasn't an official release for JSON Schema. It was more of a trial. Publishing it was skipped as we took lessons learned into draft 6. per a comment in in json-schema Slack. If one wanted to one could use Draft6 tests with omissions

Describe alternatives you've considered

N/A

Additional context

This came up when I was working on this PR:
#12619

Related Issues:

@spacether
Copy link
Contributor Author

My mistake I filed this in the wrong repo

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

No branches or pull requests

1 participant