mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -63,7 +63,7 @@ func GetGeneralRepoSettings(ctx *context.APIContext) {
 | 
			
		||||
 | 
			
		||||
// GetGeneralAttachmentSettings returns instance's global settings for Attachment
 | 
			
		||||
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
 | 
			
		||||
	// 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": {
 | 
			
		||||
      "get": {
 | 
			
		||||
        "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": {
 | 
			
		||||
      "get": {
 | 
			
		||||
        "produces": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user