Add Swagger docs at /docs and /openapi.json with split OpenAPI spec
Made-with: Cursor
This commit is contained in:
9
backend/openapi/components/security.yaml
Normal file
9
backend/openapi/components/security.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
NIP98:
|
||||
type: http
|
||||
scheme: bearer
|
||||
bearerFormat: Nostr
|
||||
description: NIP-98 HTTP Auth (Authorization Nostr <base64(json)>)
|
||||
BearerAuth:
|
||||
type: http
|
||||
scheme: bearer
|
||||
bearerFormat: JWT
|
||||
Reference in New Issue
Block a user