Known issue: Protobuf and Thrift export from OpenAPI projects
If you export a version of an OpenAPI project to Protobuf or Thrift, the file won't compile as it is. Integer, number and boolean fields come out with type names those formats don't use.
- What you'll see: lines such as
.integer id = 1;in a.protofile, or1: optional integer idin a.thriftfile. Thrift also numbers every field1. - Workaround: change the types by hand. In Protobuf, use
int64(orint32),doubleandbool. In Thrift, usei64(ori32),doubleandbool, and give each field its own id. Strings and every other export format are not affected. - Fixed in #6278 — see Protobuf and Thrift exports from OpenAPI now compile.
