docs: add swagger spec for accounts API (#11620)

This commit is contained in:
Shivam Mishra
2025-05-29 11:23:27 +05:30
committed by GitHub
parent c3d98fc064
commit f6510e0d43
12 changed files with 1360 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
tags:
- Account
operationId: get-account-details
summary: Get account details
description: Get the details of the current account
security:
- userApiKey: []
parameters:
- $ref: '#/components/parameters/account_id'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/account_show_response'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/bad_request_error'
'404':
description: Account not found
content:
application/json:
schema:
$ref: '#/components/schemas/bad_request_error'