From 016dfdb8db1c0822954d7645b0c7d3e2e78e0b24 Mon Sep 17 00:00:00 2001 From: robbrad Date: Tue, 16 Apr 2024 12:04:12 +0000 Subject: [PATCH] enum for relay state --- swagger.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/swagger.yaml b/swagger.yaml index 207e85c..a9a4980 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -46,6 +46,7 @@ paths: in: "path" required: true type: "integer" + enum: [0, 1, 2, 3, 4, 5, 6, 7] description: "ID of the relay to check status." responses: 200: