Skip to content

Commit c910450

Browse files
committed
add pubkey endpoint
1 parent 3ecbc0e commit c910450

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

openapi.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,39 @@ paths:
147147
$ref: '#/components/responses/NotFoundError'
148148
security: []
149149

150+
/pubkey:
151+
152+
get:
153+
tags:
154+
- session
155+
summary: Get token public key
156+
description: Get token public key
157+
operationId: getPubKey
158+
responses:
159+
'200':
160+
description: Successful operation
161+
content:
162+
application/json:
163+
schema:
164+
type: object
165+
properties:
166+
pubkey:
167+
type: string
168+
'400':
169+
$ref: '#/components/responses/InvalidInputError'
170+
'422':
171+
$ref: '#/components/responses/ValidationError'
172+
'500':
173+
$ref: '#/components/responses/InternalServerError'
174+
'503':
175+
$ref: '#/components/responses/UnexpectedError'
176+
'401':
177+
$ref: '#/components/responses/UnauthorizedError'
178+
'403':
179+
$ref: '#/components/responses/ForbiddenError'
180+
'404':
181+
$ref: '#/components/responses/NotFoundError'
182+
150183
/users:
151184

152185
get:

0 commit comments

Comments
 (0)