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
EDIT:
My bad. I am using a third party that relies on this code to generate JSON schemas. This issue will not affect the creation of proto files. I won't close the ticket yet though as I believe it remains a valid comment.
The text was updated successfully, but these errors were encountered:
Given a definition of the type:
The value of minimum is lost because it has been set to zero.
I believe the issue comes from: https://github.com/nytimes/openapi2proto/blob/master/openapi/interface.go#L161
where maximum and minimum are omitted if "empty".
EDIT:
My bad. I am using a third party that relies on this code to generate JSON schemas. This issue will not affect the creation of proto files. I won't close the ticket yet though as I believe it remains a valid comment.
The text was updated successfully, but these errors were encountered: