1
0
Fork 0

[SWAGGER] Make it consistent with reality

- Make the `UserSettings` definition an non-array, this is consistent
with the existing endpoints that uses this definition.
- Resolves #4179
This commit is contained in:
Gusted 2024-06-19 07:15:34 +02:00
parent 7aa3b41dfe
commit 5926ed1f73
No known key found for this signature in database
GPG key ID: FD821B732837125F
2 changed files with 2 additions and 5 deletions

View file

@ -46,5 +46,5 @@ type swaggerResponseUserHeatmapData struct {
// swagger:response UserSettings // swagger:response UserSettings
type swaggerResponseUserSettings struct { type swaggerResponseUserSettings struct {
// in:body // in:body
Body []api.UserSettings `json:"body"` Body api.UserSettings `json:"body"`
} }

View file

@ -26540,11 +26540,8 @@
"UserSettings": { "UserSettings": {
"description": "UserSettings", "description": "UserSettings",
"schema": { "schema": {
"type": "array",
"items": {
"$ref": "#/definitions/UserSettings" "$ref": "#/definitions/UserSettings"
} }
}
}, },
"VariableList": { "VariableList": {
"description": "VariableList", "description": "VariableList",