Files
SatsFaucet/backend/openapi/path-items/auth-me.yaml
2026-02-28 21:14:27 -03:00

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"