Skip to content

Commit 6aadff4

Browse files
author
Ron
authored
Merge pull request OAI#1211 from OAI/operation-object-example
fixed example
2 parents ec620ed + a34ff40 commit 6aadff4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

versions/3.0.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,9 @@ This object can be extended with [Specification Extensions](#specificationExtens
850850
"in": "path",
851851
"description": "ID of pet that needs to be updated",
852852
"required": true,
853-
"type": "string"
853+
"schema": {
854+
"type": "string"
855+
}
854856
}
855857
],
856858
"requestBody": {
@@ -910,7 +912,8 @@ parameters:
910912
in: path
911913
description: ID of pet that needs to be updated
912914
required: true
913-
type: string
915+
schema:
916+
type: string
914917
requestBody:
915918
content:
916919
'application/x-www-form-urlencoded':

0 commit comments

Comments
 (0)