fix: case typo (#13049)

* Update settings.go

* Run swagger generate
This commit is contained in:
Rongjian Zhang 2020-10-07 00:16:16 +08:00 committed by GitHub
parent a23c128ba6
commit 77f360b1b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View file

@ -63,7 +63,7 @@ func GetGeneralRepoSettings(ctx *context.APIContext) {
// GetGeneralAttachmentSettings returns instance's global settings for Attachment // GetGeneralAttachmentSettings returns instance's global settings for Attachment
func GetGeneralAttachmentSettings(ctx *context.APIContext) { func GetGeneralAttachmentSettings(ctx *context.APIContext) {
// swagger:operation GET /settings/Attachment settings getGeneralAttachmentSettings // swagger:operation GET /settings/attachment settings getGeneralAttachmentSettings
// --- // ---
// summary: Get instance's global settings for Attachment // summary: Get instance's global settings for Attachment
// produces: // produces:

View file

@ -8870,23 +8870,6 @@
} }
} }
}, },
"/settings/Attachment": {
"get": {
"produces": [
"application/json"
],
"tags": [
"settings"
],
"summary": "Get instance's global settings for Attachment",
"operationId": "getGeneralAttachmentSettings",
"responses": {
"200": {
"$ref": "#/responses/GeneralAttachmentSettings"
}
}
}
},
"/settings/api": { "/settings/api": {
"get": { "get": {
"produces": [ "produces": [
@ -8904,6 +8887,23 @@
} }
} }
}, },
"/settings/attachment": {
"get": {
"produces": [
"application/json"
],
"tags": [
"settings"
],
"summary": "Get instance's global settings for Attachment",
"operationId": "getGeneralAttachmentSettings",
"responses": {
"200": {
"$ref": "#/responses/GeneralAttachmentSettings"
}
}
}
},
"/settings/repository": { "/settings/repository": {
"get": { "get": {
"produces": [ "produces": [