API doc changes

This commit is contained in:
Djuri 2024-06-08 11:24:30 +02:00
parent e859adac86
commit 4f15eee72b
3 changed files with 9 additions and 8 deletions

View file

@ -43,7 +43,7 @@
"content": {
"application/json": {
"schema": {
"$ref": null
"$ref": "#/components/schemas/ArrayOfLeds"
}
}
}
@ -202,7 +202,9 @@
}
}
}
},
}
},
"/lights/set": {
"patch": {
"tags": ["lights"],
"summary": "Set individual LEDs",
@ -225,7 +227,7 @@
}
}
},
"/lights/{color}": {
"/lights/color/{color}": {
"get": {
"tags": ["lights"],
"summary": "Turn on LEDs with specific color",