Skip to content

New ResponseHeaders. Schema

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

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

See: Schema Changes - Scope Response

Example

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

Example OpenAPI structure:

paths:
  /pets:
    get:
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              schema:
                # Insert schema from Schema Changes examples here
                type: integer

Clone this wiki locally