mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Generate swagger json (#1402)
- Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
This commit is contained in:
		
				
					committed by
					
						 Kim "BKC" Carlbäcker
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							bb5f694fc5
						
					
				
				
					commit
					3edb0c5894
				
			
							
								
								
									
										5
									
								
								vendor/code.gitea.io/sdk/gitea/user_key.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/code.gitea.io/sdk/gitea/user_key.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -11,7 +11,12 @@ import ( | ||||
| 	"time" | ||||
| ) | ||||
|  | ||||
| // PublicKeyList represents a list of PublicKey | ||||
| // swagger:response PublicKeyList | ||||
| type PublicKeyList []*PublicKey | ||||
|  | ||||
| // PublicKey publickey is a user key to push code to repository | ||||
| // swagger:response PublicKey | ||||
| type PublicKey struct { | ||||
| 	ID      int64     `json:"id"` | ||||
| 	Key     string    `json:"key"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user