format

binary - any sequence of octets

JSON Data Type: string.

The binary format represents any sequence of octets. This format entry is to ensure future versions of OpenAPI maintain compatibility with OpenAPI 3.0.x.

Remarks

In OpenAPI 3.1, instead set the media type appropriately and do not use a schema property. Note that only complete HTTP message bodies or complete parts in a multipart media type can accommodate binary data. JSON strings and URL path components cannot.