Skip to content

Commit 3fe356c

Browse files
committed
docs(swagger): update fields
1 parent 13ef89f commit 3fe356c

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

api-docs.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ definitions:
302302
demo:
303303
description: Create Demo project resources?
304304
type: boolean
305+
305306
Project:
306307
type: object
307308
properties:
@@ -1028,13 +1029,22 @@ definitions:
10281029
properties:
10291030
version:
10301031
type: string
1031-
updateBody:
1032+
ansible:
1033+
type: string
1034+
web_host:
1035+
type: string
1036+
use_remote_runner:
1037+
type: boolean
1038+
auth_methods:
1039+
type: array
1040+
items:
1041+
type: string
1042+
git_client:
1043+
type: string
1044+
schedule_timezone:
10321045
type: string
1033-
update:
1046+
premium_features:
10341047
type: object
1035-
properties:
1036-
tag_name:
1037-
type: string
10381048

10391049
securityDefinitions:
10401050
cookie:
@@ -1436,6 +1446,7 @@ paths:
14361446
description: Created project
14371447
schema:
14381448
$ref: "#/definitions/Project"
1449+
14391450
/projects/restore:
14401451
post:
14411452
tags:
@@ -1465,6 +1476,7 @@ paths:
14651476
type: array
14661477
items:
14671478
$ref: '#/definitions/Event'
1479+
14681480
/events/last:
14691481
get:
14701482
summary: Get last 200 Events related to Semaphore and projects you are part of

web/public/swagger/api-docs.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ definitions:
302302
demo:
303303
description: Create Demo project resources?
304304
type: boolean
305+
305306
Project:
306307
type: object
307308
properties:
@@ -1028,13 +1029,22 @@ definitions:
10281029
properties:
10291030
version:
10301031
type: string
1031-
updateBody:
1032+
ansible:
1033+
type: string
1034+
web_host:
1035+
type: string
1036+
use_remote_runner:
1037+
type: boolean
1038+
auth_methods:
1039+
type: array
1040+
items:
1041+
type: string
1042+
git_client:
1043+
type: string
1044+
schedule_timezone:
10321045
type: string
1033-
update:
1046+
premium_features:
10341047
type: object
1035-
properties:
1036-
tag_name:
1037-
type: string
10381048

10391049
securityDefinitions:
10401050
cookie:
@@ -1436,6 +1446,7 @@ paths:
14361446
description: Created project
14371447
schema:
14381448
$ref: "#/definitions/Project"
1449+
14391450
/projects/restore:
14401451
post:
14411452
tags:
@@ -1465,6 +1476,7 @@ paths:
14651476
type: array
14661477
items:
14671478
$ref: '#/definitions/Event'
1479+
14681480
/events/last:
14691481
get:
14701482
summary: Get last 200 Events related to Semaphore and projects you are part of

0 commit comments

Comments
 (0)