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

[change] allow empty schemas to be validated as wildcards #419

Merged
merged 2 commits into from Jan 27, 2022

Conversation

zoten
Copy link
Contributor

@zoten zoten commented Jan 25, 2022

Fix #418

lib/open_api_spex/cast.ex Outdated Show resolved Hide resolved
@mbuhot
Copy link
Collaborator

mbuhot commented Jan 27, 2022

👍 Just one suggestion to add a reference to a resource documenting the behaviour of json schema {} meaning match any valid JSON.

Co-authored-by: Mike Buhot <m.buhot@gmail.com>
@mbuhot mbuhot merged commit 4e17ab8 into open-api-spex:master Jan 27, 2022
lucacorti pushed a commit to lucacorti/open_api_spex that referenced this pull request Feb 13, 2022
…pex#419)

* [change] allow empty schemas to be validated as wildcards

Fix open-api-spex#418

* Update lib/open_api_spex/cast.ex

Co-authored-by: Mike Buhot <m.buhot@gmail.com>

Co-authored-by: Luca Dei Zotti <luca.deizotti@athonet.com>
Co-authored-by: Mike Buhot <m.buhot@gmail.com>
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.

Cast of "wildcard" schemas
2 participants