Closed chrusty closed 6 years ago
This would allow OpenAPI / Swagger definitions like this:
jsonbytesblob: type: string format: byte
which would result in a proto like this: bytes jsonbytesblob = 1;
bytes jsonbytesblob = 1;
I realise that openapi2proto already supports a type called bytes which achieves the same thing, but this change would be more in line with the OpenAPI standards outlined here: https://swagger.io/docs/specification/data-models/data-types/#string
bytes
👌 🍕 thanks, @chrusty!!
This would allow OpenAPI / Swagger definitions like this:
which would result in a proto like this:
bytes jsonbytesblob = 1;
I realise that openapi2proto already supports a type called
bytes
which achieves the same thing, but this change would be more in line with the OpenAPI standards outlined here: https://swagger.io/docs/specification/data-models/data-types/#string