Request parameters and bodies are converted in input mode (the wire
shape) and responses in output mode; non-JSON responses are written as
binary or text content directly. Every operation has a default error
response referencing the shared ErrorBody component.
Build the OpenAPI 3.1 document for a catalog.