mirror of https://github.com/go-gitea/gitea.git
parent
a23c128ba6
commit
77f360b1b8
|
@ -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:
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Reference in New Issue