24 lines
549 B
YAML
24 lines
549 B
YAML
get:
|
|
tags: [Auth]
|
|
summary: Current user from Bearer token
|
|
security:
|
|
- BearerAuth: []
|
|
responses:
|
|
"200":
|
|
description: Pubkey and method
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
pubkey:
|
|
type: string
|
|
method:
|
|
type: string
|
|
"401":
|
|
description: Unauthorized or invalid token
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "../components/schemas/common.yaml#/ApiError"
|