mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 17:45:24 +00:00
moved everything back inline schema
This commit is contained in:
parent
6a3685d9c0
commit
d7a613e202
@ -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
|
||||
|
@ -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: Отчет создан
|
||||
|
Loading…
Reference in New Issue
Block a user