Skip to main content

Protobuf and Thrift exports from OpenAPI now compile

Exporting an OpenAPI project to Protobuf or Thrift now writes files that compile. How the types map.

  • Real scalar types. integer, number and boolean fields become int32 or int64, double or float, and bool in Protobuf, and i32 or i64, double and bool in Thrift. The schema's format picks the width. Before, they came out as type names such as .integer, and the file didn't compile.
  • Unique Thrift field ids. Fields without ids are numbered in order, 1, 2, 3. Before, every field was 1. A Thrift or Protobuf source keeps its own numbers.
  • This fixes the known issue from RC6. You no longer need to edit the file by hand.