mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix swagger security parts (#4236)
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							2b8c0bb5e2
						
					
				
				
					commit
					6efdcaed86
				
			
							
								
								
									
										16
									
								
								public/swagger.v1.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								public/swagger.v1.json
									
									
									
									
										vendored
									
									
								
							@@ -7864,24 +7864,16 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "security": [
 | 
					  "security": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "BasicAuth": [
 | 
					      "BasicAuth": []
 | 
				
			||||||
        "[]"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "Token": [
 | 
					      "Token": []
 | 
				
			||||||
        "[]"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "AccessToken": [
 | 
					      "AccessToken": []
 | 
				
			||||||
        "[]"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "AuthorizationHeaderToken": [
 | 
					      "AuthorizationHeaderToken": []
 | 
				
			||||||
        "[]"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -20,10 +20,10 @@
 | 
				
			|||||||
//     - text/html
 | 
					//     - text/html
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
//     Security:
 | 
					//     Security:
 | 
				
			||||||
//     - BasicAuth: []
 | 
					//     - BasicAuth :
 | 
				
			||||||
//     - Token: []
 | 
					//     - Token :
 | 
				
			||||||
//     - AccessToken: []
 | 
					//     - AccessToken :
 | 
				
			||||||
//     - AuthorizationHeaderToken: []
 | 
					//     - AuthorizationHeaderToken :
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
//     SecurityDefinitions:
 | 
					//     SecurityDefinitions:
 | 
				
			||||||
//     BasicAuth:
 | 
					//     BasicAuth:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user