moved everything back inline schema

This commit is contained in:
Kehitt 2018-09-20 12:38:09 +03:00
parent 6a3685d9c0
commit d7a613e202
2 changed files with 19 additions and 4 deletions

View File

@ -11,12 +11,10 @@ properties:
description: Идентификатор отчета
type: integer
format: int64
readOnly: true
createdAt:
description: Дата и время создания
type: string
format: date-time
readOnly: true
fromTime:
description: Дата и время начала периода
type: string
@ -35,4 +33,3 @@ properties:
type: array
items:
$ref: '#/definitions/FileMeta'
readOnly: true

View File

@ -11,7 +11,25 @@ post:
description: Параметры генерации отчета
required: true
schema:
$ref: '#/definitions/Report'
type: object
required:
- reportType
- fromTime
- toTime
properties:
reportType:
description: Тип отчета
type: string
enum:
- paymentRegistry
fromTime:
description: Начало временного отрезка
type: string
format: date-time
toTime:
description: Конец временного отрезка
type: string
format: date-time
responses:
'201':
description: Отчет создан