Replies: 1 comment
-
Hello, {"required":["foo"]} values |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm starting using jsonschema-go to define a JSON schema. thanks for this work :)
I can see that, when I declare a field as a pointer into a struct, to make it not required, the type "null" is added to the list of types for this field.
I would expect that the type is only "string" here, as the null value is covered by the not required capability.
Beta Was this translation helpful? Give feedback.
All reactions