mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 20:22:25 -05:00 
			
		
		
		
	[chore] Bump go swagger (#2871)
* bump go swagger version * bump swagger version
This commit is contained in:
		
					parent
					
						
							
								3a369d834a
							
						
					
				
			
			
				commit
				
					
						fd8a724e77
					
				
			
		
					 251 changed files with 10841 additions and 11896 deletions
				
			
		
							
								
								
									
										12
									
								
								vendor/github.com/go-openapi/validate/spec_messages.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/github.com/go-openapi/validate/spec_messages.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -187,6 +187,8 @@ const ( | |||
| 
 | ||||
| 	// UnusedResponseWarning ... | ||||
| 	UnusedResponseWarning = "response %q is not used anywhere" | ||||
| 
 | ||||
| 	InvalidObject = "expected an object in %q.%s" | ||||
| ) | ||||
| 
 | ||||
| // Additional error codes | ||||
|  | @ -347,11 +349,15 @@ func invalidParameterDefinitionAsSchemaMsg(path, method, operationID string) err | |||
| func parameterValidationTypeMismatchMsg(param, path, typ string) errors.Error { | ||||
| 	return errors.New(errors.CompositeErrorCode, ParamValidationTypeMismatch, param, path, typ) | ||||
| } | ||||
| func invalidObjectMsg(path, in string) errors.Error { | ||||
| 	return errors.New(errors.CompositeErrorCode, InvalidObject, path, in) | ||||
| } | ||||
| 
 | ||||
| // disabled | ||||
| // func invalidResponseDefinitionAsSchemaMsg(path, method string) errors.Error { | ||||
| //	return errors.New(errors.CompositeErrorCode, InvalidResponseDefinitionAsSchemaError, path, method) | ||||
| // } | ||||
| // | ||||
| //	func invalidResponseDefinitionAsSchemaMsg(path, method string) errors.Error { | ||||
| //		return errors.New(errors.CompositeErrorCode, InvalidResponseDefinitionAsSchemaError, path, method) | ||||
| //	} | ||||
| func someParametersBrokenMsg(path, method, operationID string) errors.Error { | ||||
| 	return errors.New(errors.CompositeErrorCode, SomeParametersBrokenError, path, method, operationID) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue