Skip to content

Commit

Permalink
Fix duplicate Dynamics schema (#34)
Browse files Browse the repository at this point in the history
Redoc printed a warning regarding a duplicate schema named Dynamics and dynamically adjusted the name (in this case, the name of the "Dynamics" schema of "grouped light" was adjusted) to Dynamics-2.

Renaming the light Dynamics schema to LightDynamics solves this issue.

Note that this is a breaking change in case one uses generated API clients.
  • Loading branch information
a-stangl committed Aug 6, 2024
1 parent f003fc5 commit f7909b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/light/schemas/LightPut.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
color:
$ref: '../../common/Color.yaml'
dynamics:
$ref: './Dynamics.yaml'
$ref: './LightDynamics.yaml'
alert:
$ref: '../../common/Alert.yaml'
signaling:
Expand Down

0 comments on commit f7909b1

Please sign in to comment.