fix lint + add split unit param

This commit is contained in:
ggmaleva 2022-06-29 09:17:56 +03:00
parent 7489512333
commit c52479ef03
21 changed files with 39 additions and 17 deletions

View File

@ -13,3 +13,4 @@ schema:
- INR
- AZN
- BRL

View File

@ -3,4 +3,4 @@ in: query
description: Начало временного отрезка
required: true
schema:
type: string
type: string

View File

@ -0,0 +1,13 @@
name: splitUnit
in: query
description: Единица времени сегмента разбиения
required: true
schema:
type: string
enum:
- minute
- hour
- day
- week
- month
- year

View File

@ -3,4 +3,4 @@ in: query
description: Конец временного отрезка
required: true
schema:
type: string
type: string

View File

@ -3,3 +3,4 @@ properties:
count:
type: integer
format: int32

View File

@ -3,3 +3,4 @@ properties:
rate:
type: number
format: float

View File

@ -8,4 +8,4 @@ properties:
offsetAmounts:
type: array
items:
$ref: '../../schemas/RiscScoreOffsetCountRate.yaml'
$ref: '../../schemas/RiscScoreOffsetCountRate.yaml'

View File

@ -7,3 +7,4 @@ properties:
items:
$ref: './StatusSummary.yaml'

View File

@ -8,3 +8,4 @@ properties:
summary:
$ref: './Summary.yaml'

View File

@ -9,3 +9,4 @@ properties:
rate:
type: number
format: float

View File

@ -14,4 +14,4 @@ allOf:
description: Номер интервала в списке
type: integer
format: int64
minimum: 0
minimum: 0

View File

@ -2,4 +2,4 @@ type: string
enum:
- low
- high
- fatal
- fatal

View File

@ -9,4 +9,4 @@ properties:
offsetCount:
type: array
items:
$ref: './OffsetCountRate.yaml'
$ref: './OffsetCountRate.yaml'

View File

@ -6,4 +6,4 @@ enum:
- day
- week
- month
- year
- year

View File

@ -12,7 +12,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
security: []
security: [ ]
tags:
- name: audit
x-displayName: Audit

View File

@ -20,4 +20,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found

View File

@ -20,4 +20,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found

View File

@ -20,4 +20,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found

View File

@ -20,4 +20,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found

View File

@ -1,12 +1,15 @@
get:
summary: Получить оценку количества платежей с различными уровнями риска к общему числу мошеннических платежей
operationId: getFraudPaymentsScoreCountRate
summary: |
Получить оценку количества платежей по различными уровнями риска к общему числу мошеннических
платежей в разрезе временного интервала
operationId: getFraudPaymentsScoreSplitCountRate
tags:
- analytics
parameters:
- $ref: '../../../components/parameters/fromTime.yaml'
- $ref: '../../../components/parameters/toTime.yaml'
- $ref: '../../../components/parameters/currency.yaml'
- $ref: '../../../components/parameters/splitUnit.yaml'
responses:
'200':
@ -20,4 +23,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found

View File

@ -1,5 +1,5 @@
get:
summary: Получить статистику по различным статусам проверок платежей
summary: Получить статистику по различным статусам результатов проверок платежей
operationId: getFraudPaymentsStatusesSummary
tags:
- analytics
@ -20,4 +20,4 @@ get:
'403':
description: Forbidden
'404':
description: Not Found
description: Not Found