mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 09:35:22 +00:00
21 lines
524 B
YAML
21 lines
524 B
YAML
get:
|
||
description: Получить данные договора по его ID
|
||
operationId: getContractByID
|
||
tags:
|
||
- Contracts
|
||
parameters:
|
||
- $ref: '#/parameters/requestID'
|
||
- $ref: '#/parameters/deadline'
|
||
- $ref: '#/parameters/contractID'
|
||
responses:
|
||
'200':
|
||
description: Contract found
|
||
schema:
|
||
$ref: '#/definitions/Contract'
|
||
'404':
|
||
$ref: '#/responses/NotFound'
|
||
'401':
|
||
$ref: '#/responses/Unauthorized'
|
||
'400':
|
||
$ref: '#/responses/DefaultLogicError'
|