diff --git a/api/application.go b/api/application.go index a3591c7..df5f187 100644 --- a/api/application.go +++ b/api/application.go @@ -156,7 +156,7 @@ func (a *ApplicationAPI) DeleteApplication(ctx *gin.Context) { // UpdateApplication updates an application info by its id. // swagger:operation PUT /application/{id} application updateApplication // -// Update info for an application +// Update an application. // // --- // consumes: [application/json] @@ -216,7 +216,7 @@ func (a *ApplicationAPI) UpdateApplication(ctx *gin.Context) { // UploadApplicationImage uploads an image for an application. // swagger:operation POST /application/{id}/image application uploadAppImage // -// Upload an image for an application +// Upload an image for an application. // // --- // consumes: diff --git a/docs/spec.json b/docs/spec.json index 504b4b7..4d1d44c 100644 --- a/docs/spec.json +++ b/docs/spec.json @@ -144,7 +144,6 @@ "basicAuth": [] } ], - "description": "Update info for an application", "consumes": [ "application/json" ], @@ -154,6 +153,7 @@ "tags": [ "application" ], + "summary": "Update an application.", "operationId": "updateApplication", "parameters": [ { @@ -282,7 +282,6 @@ "basicAuth": [] } ], - "description": "Upload an image for an application", "consumes": [ "multipart/form-data" ], @@ -292,6 +291,7 @@ "tags": [ "application" ], + "summary": "Upload an image for an application.", "operationId": "uploadAppImage", "parameters": [ {