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

minItems and maxItems property is not used #42

Open
bruno-f-cruz opened this issue Jun 18, 2024 · 0 comments
Open

minItems and maxItems property is not used #42

bruno-f-cruz opened this issue Jun 18, 2024 · 0 comments

Comments

@bruno-f-cruz
Copy link
Contributor

bruno-f-cruz commented Jun 18, 2024

(Adding this issue as a placeholder, will add more details later).

The property seems to be included in the njson API, but for some reason is not trickling down to the sgen generated classes.

https://github.com/RicoSuter/NJsonSchema/blob/1569e52401628d009af8044d1886d5a26770d05c/src/NJsonSchema/JsonSchema.cs#L491

This property also seems to be standard in the json-schema core:
https://json-schema.org/understanding-json-schema/reference/array#length

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