mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Swagger: Add information to API Token header (#7585)
* Add a description to the API Token header for swagger
This commit is contained in:
		@@ -43,6 +43,7 @@
 | 
				
			|||||||
//          type: apiKey
 | 
					//          type: apiKey
 | 
				
			||||||
//          name: Authorization
 | 
					//          name: Authorization
 | 
				
			||||||
//          in: header
 | 
					//          in: header
 | 
				
			||||||
 | 
					//          description: API tokens must be prepended with "token" followed by a space.
 | 
				
			||||||
//     SudoParam:
 | 
					//     SudoParam:
 | 
				
			||||||
//          type: apiKey
 | 
					//          type: apiKey
 | 
				
			||||||
//          name: sudo
 | 
					//          name: sudo
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10390,6 +10390,7 @@
 | 
				
			|||||||
      "in": "query"
 | 
					      "in": "query"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "AuthorizationHeaderToken": {
 | 
					    "AuthorizationHeaderToken": {
 | 
				
			||||||
 | 
					      "description": "API tokens must be prepended with \"token\" followed by a space.",
 | 
				
			||||||
      "type": "apiKey",
 | 
					      "type": "apiKey",
 | 
				
			||||||
      "name": "Authorization",
 | 
					      "name": "Authorization",
 | 
				
			||||||
      "in": "header"
 | 
					      "in": "header"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user