Skip to content

Conversation

glowcloud
Copy link
Contributor

This PR corrects spec paths to schemas in parameters with content, responses and request bodies.

Parameters

parameters:
  - in: query
    name: testestest
    content:
      application/json:
        schema:
          $ref: '#/components/schemas/Pet'

Path to schema before: [..., parameters, 0, schema]
Path to schema after: [..., parameters, 0, content, application/json, schema]

Responses

paths:
  /pet:
    get:
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pet'

Path to schema before: [content, application/json, schema]
Path to schema after: [paths, /pet, get, responses, 200, content, application/json, schema]

Request bodies

requestBody:
  content:
    application/json:
      schema:
        $ref: '#/components/schemas/Pet'

Path to schema before: [..., content, application/json]
Path to schema after: [..., content, application/json, schema]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant