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
The type property of the long data type is invalid. In the spec, long requires type=integer, but the proto3 swagger spec generator produces type=string.
Proposed solution:
Change the spec to accept type=string.
The text was updated successfully, but these errors were encountered:
evanmcclure
changed the title
Type property for long data type is invalid
Type property for long data type is invalid and incompatible with swagger spec generated from proto3 sources
Dec 15, 2017
The type property of the
long
data type is invalid. In the spec,long
requirestype=integer
, but the proto3 swagger spec generator producestype=string
.References:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types
https://developers.google.com/protocol-buffers/docs/proto3#json
Proposed solution:
Change the spec to accept
type=string
.The text was updated successfully, but these errors were encountered: