Add Swagger docs at /docs and /openapi.json with split OpenAPI spec
Made-with: Cursor
This commit is contained in:
16
backend/openapi/path-items/stats.yaml
Normal file
16
backend/openapi/path-items/stats.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags: [Public]
|
||||
summary: Faucet stats
|
||||
responses:
|
||||
"200":
|
||||
description: Stats (balance, paid, claims)
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../components/schemas/faucet.yaml#/Stats"
|
||||
"500":
|
||||
description: Internal error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../components/schemas/common.yaml#/ApiError"
|
||||
Reference in New Issue
Block a user