mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	openapi: Fix generated types for duration strings (#20841)
This commit is contained in:
		 Anton Averchenkov
					Anton Averchenkov
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							0bd356f6cd
						
					
				
				
					commit
					be4979dfbb
				
			| @@ -922,8 +922,8 @@ func convertType(t FieldType) schemaType { | ||||
| 		ret.baseType = "integer" | ||||
| 		ret.format = "int64" | ||||
| 	case TypeDurationSecond, TypeSignedDurationSecond: | ||||
| 		ret.baseType = "integer" | ||||
| 		ret.format = "seconds" | ||||
| 		ret.baseType = "string" | ||||
| 		ret.format = "duration" | ||||
| 	case TypeBool: | ||||
| 		ret.baseType = "boolean" | ||||
| 	case TypeMap: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user