Add summary for updateApp and uploadImg api

This commit is contained in:
Jannis Mattheis
2018-11-24 11:08:03 +01:00
parent 76ca344b77
commit ec2c3da9d4
2 changed files with 4 additions and 4 deletions

View File

@@ -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:

View File

@@ -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": [
{