chore: update OpenAPI spec from SQuiz/yclients
This commit is contained in:
parent
e2cdeda675
commit
b2499d218a
@ -17,6 +17,18 @@ paths:
|
|||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
description: ID салона в YClients
|
description: ID салона в YClients
|
||||||
|
- name: account_id
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
description: ID аккаунта квиз
|
||||||
|
- name: user_data
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
description: это JSON, который кодируется алгоритмом base64 YClients
|
||||||
responses:
|
responses:
|
||||||
'302':
|
'302':
|
||||||
description: Перенаправление на URL регистрации
|
description: Перенаправление на URL регистрации
|
||||||
@ -385,7 +397,7 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
example: "failed send task to kafka for update list timeslots"
|
example: "failed send task to kafka for update list timeslots"
|
||||||
|
|
||||||
/rules/{quizID}:
|
/yclients/rules/{quizID}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Rules
|
- Rules
|
||||||
@ -676,12 +688,6 @@ components:
|
|||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
description: Название салона
|
description: Название салона
|
||||||
shortDecription:
|
|
||||||
type: string
|
|
||||||
description: Краткое описание
|
|
||||||
country:
|
|
||||||
type: string
|
|
||||||
description: Страна
|
|
||||||
deleted:
|
deleted:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Флаг мягкого удаления
|
description: Флаг мягкого удаления
|
||||||
@ -949,6 +955,7 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
cost:
|
cost:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: float64
|
||||||
|
|
||||||
YclientsRule:
|
YclientsRule:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user