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