Skip to content

Multiple response examples not supported #371

@GCGarrettG

Description

@GCGarrettG

The examples key can only be used to specify a single example response. If more than one example is provided only the first is displayed.

  "/myCar":
    get:
      operationId: CAR
      produces:
      - application/json
      - text/plain
      responses:
        '200':
          description: OK
          examples:
            application/json:
              car: 'blue'
            text/plain: 'TextAboutMyCar'
          schema:
            "$ref": "#/def/cars"
      security: []
      parameters: []```


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions