-
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: POST
statements/missing_transactions
API docs (#359)
* feat: POST statements/missing_transactions API docs * feat: POST statements/missing_transactions API docs * Auto generate API docs --------- Co-authored-by: Siva <[email protected]>
- Loading branch information
1 parent
6a3f571
commit 1f6f48c
Showing
4 changed files
with
351 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 |
---|---|---|
|
@@ -364,6 +364,8 @@ paths: | |
$ref: paths/admin@[email protected] | ||
/admin/statements/card_stats: | ||
$ref: paths/admin@statements@card_stats.yaml | ||
/admin/statements/missing_transactions: | ||
$ref: paths/admin@statements@post_missing_transactions.yaml | ||
/admin/statements/create_card_transactions: | ||
$ref: paths/admin@statements@create_card_transactions.yaml | ||
/admin/expense_rules: | ||
|
45 changes: 45 additions & 0 deletions
45
src/admin/paths/admin@statements@post_missing_transactions.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,45 @@ | ||
post: | ||
tags: | ||
- Statements | ||
summary: Process RTF Missing Transactions Reconciliation | ||
description: | | ||
This API is used to start processing RTF missing transactions reconciliation of a statement. | ||
operationId: missing_transactions | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../components/schemas/statements.yaml#/rtf_missing_transaction_from_statement_in' | ||
required: | ||
- data | ||
responses: | ||
'200': | ||
description: OK | ||
'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' | ||
'404': | ||
description: Not Found | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/404.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