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. // UpdateApplication updates an application info by its id.
// swagger:operation PUT /application/{id} application updateApplication // swagger:operation PUT /application/{id} application updateApplication
// //
// Update info for an application // Update an application.
// //
// --- // ---
// consumes: [application/json] // consumes: [application/json]
@ -216,7 +216,7 @@ func (a *ApplicationAPI) UpdateApplication(ctx *gin.Context) {
// UploadApplicationImage uploads an image for an application. // UploadApplicationImage uploads an image for an application.
// swagger:operation POST /application/{id}/image application uploadAppImage // swagger:operation POST /application/{id}/image application uploadAppImage
// //
// Upload an image for an application // Upload an image for an application.
// //
// --- // ---
// consumes: // consumes:

View File

@ -144,7 +144,6 @@
"basicAuth": [] "basicAuth": []
} }
], ],
"description": "Update info for an application",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@ -154,6 +153,7 @@
"tags": [ "tags": [
"application" "application"
], ],
"summary": "Update an application.",
"operationId": "updateApplication", "operationId": "updateApplication",
"parameters": [ "parameters": [
{ {
@ -282,7 +282,6 @@
"basicAuth": [] "basicAuth": []
} }
], ],
"description": "Upload an image for an application",
"consumes": [ "consumes": [
"multipart/form-data" "multipart/form-data"
], ],
@ -292,6 +291,7 @@
"tags": [ "tags": [
"application" "application"
], ],
"summary": "Upload an image for an application.",
"operationId": "uploadAppImage", "operationId": "uploadAppImage",
"parameters": [ "parameters": [
{ {