Add Swagger docs at /docs and /openapi.json with split OpenAPI spec
Made-with: Cursor
This commit is contained in:
24
backend/openapi/components/schemas/claim.yaml
Normal file
24
backend/openapi/components/schemas/claim.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
QuoteResult:
|
||||
type: object
|
||||
properties:
|
||||
quote_id:
|
||||
type: string
|
||||
payout_sats:
|
||||
type: integer
|
||||
expires_at:
|
||||
type: integer
|
||||
ConfirmResult:
|
||||
type: object
|
||||
properties:
|
||||
success:
|
||||
type: boolean
|
||||
already_consumed:
|
||||
type: boolean
|
||||
payout_sats:
|
||||
type: integer
|
||||
next_eligible_at:
|
||||
type: integer
|
||||
message:
|
||||
type: string
|
||||
payment_hash:
|
||||
type: string
|
||||
Reference in New Issue
Block a user