Skip to content

Commit 117b534

Browse files
add parameters definition
Signed-off-by: Thomas McWork <[email protected]>
1 parent 210a8ef commit 117b534

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

openapi.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ paths:
3232
requestBody:
3333
$ref: '#/components/requestBodies/favoriteBody'
3434
/favorites/{id}:
35+
parameters:
36+
- name: id
37+
in: path
38+
description: ID of favorite to use
39+
required: true
40+
schema:
41+
type: integer
3542
put:
3643
operationId: edit-favorites
3744
summary: 'Edit a favorite.'

0 commit comments

Comments
 (0)