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? #1771

Open
spacether opened this issue Jul 10, 2022 · 0 comments
Open

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

spacether opened this issue Jul 10, 2022 · 0 comments

Comments

@spacether
Copy link
Contributor

spacether commented Jul 10, 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 these PRs:

Which bring the json schema test cases into the openapi ecosystem and use them for testing.

Related Issues:

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

No branches or pull requests

1 participant