diff options
Diffstat (limited to 'src/routes/start.rs')
-rw-r--r-- | src/routes/start.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routes/start.rs b/src/routes/start.rs index e74a943..ff3d1be 100644 --- a/src/routes/start.rs +++ b/src/routes/start.rs | |||
@@ -16,7 +16,7 @@ use uuid::Uuid; | |||
16 | path = "/start", | 16 | path = "/start", |
17 | request_body = PayloadOld, | 17 | request_body = PayloadOld, |
18 | responses( | 18 | responses( |
19 | (status = 200, description = "List matching todos by query", body = [Response]) | 19 | (status = 200, description = "DEP", body = [Response]) |
20 | ), | 20 | ), |
21 | security((), ("api_key" = [])) | 21 | security((), ("api_key" = [])) |
22 | )] | 22 | )] |
@@ -65,10 +65,10 @@ pub async fn start_payload( | |||
65 | path = "/start/{id}", | 65 | path = "/start/{id}", |
66 | request_body = Option<Payload>, | 66 | request_body = Option<Payload>, |
67 | responses( | 67 | responses( |
68 | (status = 200, description = "Start the device with the given id", body = [Response]) | 68 | (status = 200, description = "start the device with the given id", body = [Response]) |
69 | ), | 69 | ), |
70 | params( | 70 | params( |
71 | ("id" = String, Path, description = "Device id") | 71 | ("id" = String, Path, description = "device id") |
72 | ), | 72 | ), |
73 | security((), ("api_key" = [])) | 73 | security((), ("api_key" = [])) |
74 | )] | 74 | )] |
@@ -84,10 +84,10 @@ pub async fn post( | |||
84 | get, | 84 | get, |
85 | path = "/start/{id}", | 85 | path = "/start/{id}", |
86 | responses( | 86 | responses( |
87 | (status = 200, description = "Start the device with the given id", body = [Response]) | 87 | (status = 200, description = "start the device with the given id", body = [Response]) |
88 | ), | 88 | ), |
89 | params( | 89 | params( |
90 | ("id" = String, Path, description = "Device id") | 90 | ("id" = String, Path, description = "device id") |
91 | ), | 91 | ), |
92 | security((), ("api_key" = [])) | 92 | security((), ("api_key" = [])) |
93 | )] | 93 | )] |