Add Swagger docs at /docs and /openapi.json with split OpenAPI spec
Made-with: Cursor
This commit is contained in:
12
backend/openapi/components/schemas/common.yaml
Normal file
12
backend/openapi/components/schemas/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
ApiError:
|
||||
type: object
|
||||
required: [code, message]
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: string
|
||||
next_eligible_at:
|
||||
type: integer
|
||||
Reference in New Issue
Block a user