Merge pull request '[SWAGGER] Make `UserSettings` definition an non-array' (#4182) from gusted/forgejo-api into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4182 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
commit
b51f9fa37e
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue