-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Description
a new object schema should be created for response, however since the items schema is not typed, the inline schema is not flattened.
/pet/findByStatus:
get:
tags:
- pet
summary: Finds Pets by status
description: Multiple status values can be provided with comma separated strings
operationId: findPetsByStatus
parameters:
- name: status
in: query
description: Status values that need to be considered for filter
required: true
explode: true
schema:
type: array
items:
type: string
enum:
- available
- pending
- sold
default: available
x-example: "available"
- name: language
in: query
schema:
type: string
required: false
x-example: "es"
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
properties:
id:
type: integer
name:
type: stringMetadata
Metadata
Assignees
Labels
No labels