mirror of
https://github.com/gotify/server.git
synced 2024-01-28 15:20:56 +03:00
Add summary for updateApp and uploadImg api
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user