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

@ -33,7 +33,7 @@ paths:
content:
application/json:
schema:
$ref: #/components/schemas/ArrayOfLeds
$ref: '#/components/schemas/ArrayOfLeds'
post:
tags:
- system
@ -139,6 +139,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ArrayOfLeds'
/lights/set:
patch:
tags:
- lights
@ -153,7 +154,7 @@ paths:
description: succesful operation
'400':
description: invalid colors or wrong amount of LEDs
/lights/{color}:
/lights/color/{color}:
get:
tags:
- lights