Fix ids and types (#25)

* Fix ids and types


Co-authored-by: k.struzhkin <k.struzhkin@rbkmoney.com>
This commit is contained in:
Kostya 2020-03-10 15:43:18 +03:00 committed by GitHub
parent bbf8769b4b
commit 95dbdc2c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 22 additions and 14 deletions

View File

@ -8,7 +8,7 @@ allOf:
count:
description: 'Общее количество операций'
type: integer
format: int32
format: int64
minimum: 0
currency:
x-merge-obj:

View File

@ -14,5 +14,5 @@ properties:
offset:
description: 'Номер интервала в списке'
type: integer
format: int32
format: int64
minimum: 0

View File

@ -8,10 +8,10 @@ allOf:
count:
description: 'Общее количество операций'
type: integer
format: int32
format: int64
minimum: 0
offset:
description: 'Номер интервала в списке'
type: integer
format: int32
format: int64
minimum: 0

View File

@ -11,5 +11,5 @@ allOf:
percents:
description: Относительное колличество ошибок в процентах
type: integer
format: int32
format: int64
minimum: 0

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
responses:
'200':
description: Список оборотов с группировкой по валютам

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
- $ref: '#/parameters/splitUnit'

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
- $ref: '#/parameters/splitUnit'

View File

@ -6,7 +6,7 @@ get:
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/shopIDs'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
responses:

View File

@ -264,6 +264,14 @@ parameters:
type: string
maxLength: 40
minLength: 1
shopIDs:
name: shopIDs
in: query
description: Идентификаторы магазинов
required: false
type: array
items:
type: string
partyID:
name: partyID
in: path