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

bug: json schema in rapidjson not support default value #317

Closed
moonming opened this issue Jul 26, 2019 · 3 comments
Closed

bug: json schema in rapidjson not support default value #317

moonming opened this issue Jul 26, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@moonming
Copy link
Member

No description provided.

@moonming moonming added the bug Something isn't working label Jul 26, 2019
@moonming
Copy link
Member Author

xpol/lua-rapidjson#40

@chnliyong
Copy link
Contributor

chnliyong commented Jul 27, 2019

Yes, as I mentioned here: #266 (comment)

The tutorial here: https://json-schema.org/understanding-json-schema/reference/generic.html#annotations

The default keyword specifies a default value for an item. JSON processing tools may use this information to provide a default value for a missing key/value pair, though many JSON schema validators simply ignore the default keyword. It should validate against the schema in which it resides, but that isn’t required.

@moonming
Copy link
Member Author

moonming commented Nov 2, 2019

we removed rapidjson from APISIX, so we can close this issue.

@moonming moonming closed this as completed Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants