diff --git a/api/admin/settings.go b/api/admin/settings.go index f567c4263..f04109680 100644 --- a/api/admin/settings.go +++ b/api/admin/settings.go @@ -36,6 +36,10 @@ import ( // type: json // schema: // "$ref": "#/definitions/Platform" +// '401': +// description: Unauthorized +// schema: +// "$ref": "#/definitions/Error" // '404': // description: Unable to retrieve settings // schema: @@ -88,6 +92,10 @@ func GetSettings(c *gin.Context) { // description: Unable to update settings — bad request // schema: // "$ref": "#/definitions/Error" +// '401': +// description: Unauthorized +// schema: +// "$ref": "#/definitions/Error" // '404': // description: Unable to retrieve platform settings to update // schema: @@ -206,6 +214,10 @@ func UpdateSettings(c *gin.Context) { // type: json // schema: // "$ref": "#/definitions/Platform" +// '401': +// description: Unauthorized +// schema: +// "$ref": "#/definitions/Error" // '404': // description: Unable to retrieve settings to restore // schema: