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
Hi, I would like to know how to override/remove some jsonschema property.
In the example below, the MAC attribute is a slice of bytes and is represented as {"type":"string","contentEncoding":"base64"} in the generated schema. However, in my case I made a custom marshaller so as to turn this slice into a string. So I would like to remove the contentEncoding attribute in the schema.
I have tried to change its value but it is not reflected in the schema.
Hi, I would like to know how to override/remove some
jsonschema
property.In the example below, the
MAC
attribute is a slice of bytes and is represented as{"type":"string","contentEncoding":"base64"}
in the generated schema. However, in my case I made a custom marshaller so as to turn this slice into a string. So I would like to remove thecontentEncoding
attribute in the schema.I have tried to change its value but it is not reflected in the schema.
The text was updated successfully, but these errors were encountered: