-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial enpoint implementation for user
- Loading branch information
Showing
9 changed files
with
117 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
get: | ||
tags: | ||
- user | ||
summary: Get trade order | ||
description: Returns user's trade order | ||
operationId: getTradeOrderById | ||
parameters: | ||
- $ref: '../../models/trading_account.yaml#/components/parameters/TradingAccountId' | ||
- $ref: '../../models/trade_order.yaml#/components/parameters/TradeOrderId' | ||
|
||
responses: | ||
"200": | ||
description: Success | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../models/trade_order.yaml#/components/schemas/TradeOrder' | ||
"404": | ||
description: Error | ||
|
||
|
||
delete: | ||
tags: | ||
- user | ||
summary: Cancel trade order | ||
description: Cancels a trade order by id | ||
operationId: deleteTradeOrderById | ||
parameters: | ||
- $ref: '../../models/trading_account.yaml#/components/parameters/TradingAccountId' | ||
- $ref: '../../models/trade.yaml#/components/parameters/TradeId' | ||
responses: | ||
"204": | ||
description: Success | ||
|
||
"404": | ||
description: Error |
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
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
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
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