Skip to content

Commit

Permalink
Add summary for updateApp and uploadImg api
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Nov 24, 2018
1 parent 76ca344 commit ec2c3da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
"basicAuth": []
}
],
"description": "Update info for an application",
"consumes": [
"application/json"
],
Expand All @@ -154,6 +153,7 @@
"tags": [
"application"
],
"summary": "Update an application.",
"operationId": "updateApplication",
"parameters": [
{
Expand Down Expand Up @@ -282,7 +282,6 @@
"basicAuth": []
}
],
"description": "Upload an image for an application",
"consumes": [
"multipart/form-data"
],
Expand All @@ -292,6 +291,7 @@
"tags": [
"application"
],
"summary": "Upload an image for an application.",
"operationId": "uploadAppImage",
"parameters": [
{
Expand Down

0 comments on commit ec2c3da

Please sign in to comment.