Add Swagger docs at /docs and /openapi.json with split OpenAPI spec
Made-with: Cursor
This commit is contained in:
18
backend/openapi/path-items/user-refresh-profile.yaml
Normal file
18
backend/openapi/path-items/user-refresh-profile.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
post:
|
||||
tags: [User]
|
||||
summary: Refresh Nostr profile (kind 0)
|
||||
security:
|
||||
- BearerAuth: []
|
||||
responses:
|
||||
"200":
|
||||
description: lightning_address and name
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../components/schemas/user.yaml#/UserProfile"
|
||||
"500":
|
||||
description: Profile fetch failed
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../components/schemas/common.yaml#/ApiError"
|
||||
Reference in New Issue
Block a user