You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use jsonschema:"nullable" until #110 is merged, then you'll have an option to specify all nullable Go types to be marked as nullable.
In case of this library, the {"oneof":[{spec}, {"type":"null"}] will be generated.
I need to set "type": ["object", "null"] in my json schema, but haven't found a way to do this. Is there a way?
For now I use Reflect and then set .Type = "[object, null]" and then when the schema is done I do a replace all.. it works, but is a little hacky
The text was updated successfully, but these errors were encountered: