mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	@@ -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": [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user