update openapi
This commit is contained in:
parent
93e3dad1e8
commit
2d0fd83c01
41
openapi.yaml
41
openapi.yaml
@ -447,21 +447,13 @@ components:
|
||||
description: правила заполнения полей сущностей в амо
|
||||
properties:
|
||||
lead:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
contact:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ContactRules'
|
||||
$ref: '#/components/schemas/ContactRules'
|
||||
company:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
customer:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
TagsToAdd:
|
||||
type: object
|
||||
properties:
|
||||
@ -842,25 +834,13 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
Lead:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/FieldRule"
|
||||
description: "правила заполнения полей сущностей в амо"
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
Contact:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ContactRules"
|
||||
description: "правила заполнения полей контакта в амо, передавать не стоит, будут парситься из конфига опроса переданного в правиле"
|
||||
$ref: '#/components/schemas/ContactRules'
|
||||
Company:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/FieldRule"
|
||||
description: "правила заполнения полей сущностей в амо"
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
Customer:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/FieldRule"
|
||||
description: "правила заполнения полей сущностей в амо"
|
||||
$ref: '#/components/schemas/FieldRule'
|
||||
TagsToAdd:
|
||||
type: object
|
||||
properties:
|
||||
@ -902,6 +882,11 @@ components:
|
||||
type: string
|
||||
additionalProperties:
|
||||
type: integer
|
||||
QuestionID:
|
||||
type: integer
|
||||
additionalProperties:
|
||||
type: integer
|
||||
description: сопоставление айдишника вопроса полю, которое будет заполняться ответом. соответственно QuestionID это айдишник вопроса. это я так мэпу пытался записать. Мапа, где ключи - QuestionID, значения - ID кастомного поля
|
||||
|
||||
responses:
|
||||
'200':
|
||||
|
Loading…
Reference in New Issue
Block a user