-
Notifications
You must be signed in to change notification settings - Fork 87
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
Adding maxItems to a custom array type in JSON schema #144
Comments
@LazarenkoA - i believe this is working - try to add this tags to your struct:
it also supports |
@Rosswell but it needs to be in the type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following Go structure:
This generates the following JSON schema:
I need to add a maxItems constraint to the CustomTypes array, for example:
How can I achieve this? I can't add a tag to the type definition in Go.
The text was updated successfully, but these errors were encountered: