Exact scalar types in IDL and schema exports
ASN.1, Avro, OMG IDL, FlatBuffers, TypeSpec, WSDL and XSD exports now write every scalar as the
target's own type. An OpenAPI integer or number keeps the width its format names.
- Fixed — Avro: an OpenAPI
integerwithformat: int64was written asint, which holds 32 bits. It is nowlong. Protobuf'sfixed32andfixed64were written asstring; they are nowlong. - Fixed — FlatBuffers and ASN.1: a width
formatwas ignored, soint+int64was written asintin FlatBuffers and an ASN.1INTEGERhad no range. Both now follow theformat. - Fixed — OMG IDL: a field of type
voidwas written asvoid f;, which IDL compilers reject. It is left out and listed as dropped. - Fixed — TypeSpec, XSD and WSDL:
bigint,instantandblobwere written as strings. They are nowinteger, a date-time and binary. - One meaning per spelling:
fixed32andfixed64are unsigned,byteis a signed 8-bit integer, andblobis binary, in every target. - Reported when a type is too small: Avro has no unsigned 64-bit integer, so
uint64is written aslongand the fidelity report says values above 2^63 − 1 do not fit. Abigintor adecimalwith no precision, written aslongordoublein Avro and FlatBuffers, is reported the same way. - REST: no endpoint changes (REST API 1.787.0, OpenAPI 1.613.0).
See Scalar types.
