Skip to content

Commit b72f1bd

Browse files
committed
docs(swagger): correct field names
1 parent f4d350a commit b72f1bd

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

api-docs.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ definitions:
526526
template_id:
527527
type: integer
528528
minimum: 1
529-
params:
529+
task_params:
530530
$ref: '#/definitions/TaskPrams'
531531

532532
IntegrationRequest:
@@ -959,7 +959,7 @@ definitions:
959959
type: string
960960
active:
961961
type: boolean
962-
params:
962+
task_params:
963963
$ref: '#/definitions/TaskPrams'
964964

965965
Schedule:
@@ -977,7 +977,7 @@ definitions:
977977
type: string
978978
active:
979979
type: boolean
980-
params:
980+
task_params:
981981
$ref: '#/definitions/TaskPrams'
982982

983983
ViewRequest:
@@ -1683,10 +1683,22 @@ paths:
16831683
description: Integration Created
16841684
schema:
16851685
$ref: "#/definitions/Integration"
1686+
16861687
/project/{project_id}/integrations/{integration_id}:
16871688
parameters:
16881689
- $ref: "#/parameters/project_id"
16891690
- $ref: "#/parameters/integration_id"
1691+
get:
1692+
tags:
1693+
- integration
1694+
summary: Get Integration by ID
1695+
responses:
1696+
200:
1697+
description: Integration Value
1698+
schema:
1699+
type: array
1700+
items:
1701+
$ref: "#/definitions/Integration"
16901702
put:
16911703
tags:
16921704
- integration

web/public/swagger/api-docs.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ definitions:
526526
template_id:
527527
type: integer
528528
minimum: 1
529-
params:
529+
task_params:
530530
$ref: '#/definitions/TaskPrams'
531531

532532
IntegrationRequest:
@@ -959,7 +959,7 @@ definitions:
959959
type: string
960960
active:
961961
type: boolean
962-
params:
962+
task_params:
963963
$ref: '#/definitions/TaskPrams'
964964

965965
Schedule:
@@ -977,7 +977,7 @@ definitions:
977977
type: string
978978
active:
979979
type: boolean
980-
params:
980+
task_params:
981981
$ref: '#/definitions/TaskPrams'
982982

983983
ViewRequest:
@@ -1683,10 +1683,22 @@ paths:
16831683
description: Integration Created
16841684
schema:
16851685
$ref: "#/definitions/Integration"
1686+
16861687
/project/{project_id}/integrations/{integration_id}:
16871688
parameters:
16881689
- $ref: "#/parameters/project_id"
16891690
- $ref: "#/parameters/integration_id"
1691+
get:
1692+
tags:
1693+
- integration
1694+
summary: Get Integration by ID
1695+
responses:
1696+
200:
1697+
description: Integration Value
1698+
schema:
1699+
type: array
1700+
items:
1701+
$ref: "#/definitions/Integration"
16901702
put:
16911703
tags:
16921704
- integration

0 commit comments

Comments
 (0)