Skip to content

Commit 4216749

Browse files
committed
fix
1 parent d050914 commit 4216749

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

openapi.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,21 +1462,21 @@ paths:
14621462
'404':
14631463
$ref: '#/components/responses/NotFoundError'
14641464

1465-
/zones/me/otp:
1465+
/zones/me/{username}:
14661466
get:
14671467
tags:
14681468
- zone
1469-
summary: Get all zones of the user that genereated the OTP
1470-
description: Get all zones of the user that generated the OTP
1471-
operationId: getUserZonesByOtp
1469+
summary: Get all zones of the specified user
1470+
description: Get all zones of the specified user
1471+
operationId: getUserZonesByUsername
14721472
parameters:
1473-
- name: otp
1474-
in: query
1475-
description: The OTP code to validate
1473+
- name: username
1474+
in: path
1475+
description: Username of the user to get zones for
14761476
required: true
14771477
schema:
14781478
type: string
1479-
example: "123456"
1479+
example: johndoe
14801480
responses:
14811481
'200':
14821482
description: Successful operation

0 commit comments

Comments
 (0)