Skip to content

Commit 8583d0e

Browse files
committed
api: rest: Update swagger
1 parent 3a7563c commit 8583d0e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pkg/api/rest/docs/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const docTemplate = `{
134134
},
135135
"/sleep_time": {
136136
"post": {
137-
"description": "Runs sleep command on cicada and waits for configured time.",
137+
"description": "Runs sleep command on cicada and waits for configured time. Wait for 10 seconds if time value is not provided.",
138138
"consumes": [
139139
"application/json"
140140
],

pkg/api/rest/docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
},
128128
"/sleep_time": {
129129
"post": {
130-
"description": "Runs sleep command on cicada and waits for configured time.",
130+
"description": "Runs sleep command on cicada and waits for configured time. Wait for 10 seconds if time value is not provided.",
131131
"consumes": [
132132
"application/json"
133133
],

pkg/api/rest/docs/swagger.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,8 @@ paths:
605605
post:
606606
consumes:
607607
- application/json
608-
description: Runs sleep command on cicada and waits for configured time.
608+
description: Runs sleep command on cicada and waits for configured time. Wait
609+
for 10 seconds if time value is not provided.
609610
operationId: sleep-time
610611
parameters:
611612
- description: SleepTime request

0 commit comments

Comments
 (0)