Skip to content

New ResponseBody. Schema

Adil Bektursunov edited this page Dec 17, 2025 · 1 revision

For ResponseBody schemas, changes are classified according to Schema Changes with Scope Response.

See: Schema Changes - Scope Response

Example

To get specific examples for ResponseBody schemas, take the schema examples from the Schema Changes section and insert them into the responses[*].content.application/json.schema location of an OpenAPI specification.

Example OpenAPI structure:

paths:
  /pets:
    get:
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                # Insert schema from Schema Changes examples here

Clone this wiki locally