Forum Discussion

maryabl's avatar
maryabl
New Contributor
4 years ago

Name field is missing after conversion from swagger 2.0 to Open API 3.0

Hi there,

 

In Swagger 2.0, there is '- name: pickup items' in the yaml file. After converted to Open API 3.0, this is missing and causing integration failed.

May i know how can i address it in Open API 3.0 YAML file?

Thanks. 

 

Sample:

"/pickups":
post:
summary: booking request
description: |
The Pickup service 
tags:
- pickup
produces:
- application/json
parameters:
- $ref: "#/parameters/messageReferenceHeader"
- name: pickup items
in: body
description: Details about the requested pickup
required: true
schema:
$ref: "#/definitions/PickupRequest"
responses:
'201':
description: Pickup created
schema:
$ref: "#/definitions/PickupResponse"
'400':
description: Bad request

No RepliesBe the first to reply