-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add corporate card transactions exports api docs (#575)
* cct exports api doc * Auto generate API docs --------- Co-authored-by: Siva <[email protected]>
- Loading branch information
1 parent
a65e9f3
commit c2ed4bb
Showing
5 changed files
with
471 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -353,6 +353,8 @@ paths: | |
$ref: paths/admin@[email protected] | ||
/admin/corporate_card_transactions/unmatch: | ||
$ref: paths/admin@[email protected] | ||
/admin/corporate_card_transactions/exports: | ||
$ref: paths/admin@[email protected] | ||
|
||
/admin/virtual_cards: | ||
$ref: paths/admin@virtual_cards.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
post: | ||
tags: | ||
- Corporate Card Transactions | ||
summary: Create Corproate Card Transactions Export | ||
description: | | ||
Create Corporate Card Transactions Export Request. | ||
operationId: corporate_card_transactions_exports_post | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../components/schemas/corporate_card_transactions_exports.yaml#/corporate_card_transactions_exports_in' | ||
required: | ||
- data | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../components/schemas/corporate_card_transactions_exports.yaml#/corporate_card_transactions_exports_out' | ||
'400': | ||
description: Bad request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/400.yaml' | ||
'401': | ||
description: Unauthorized request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/401.yaml' | ||
'403': | ||
description: Forbidden | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/403.yaml' |
Oops, something went wrong.