Uses of Class
org.apache.camel.model.rest.ParamDefinition
Packages that use ParamDefinition
-
Uses of ParamDefinition in org.apache.camel.model.rest
Methods in org.apache.camel.model.rest that return ParamDefinitionModifier and TypeMethodDescriptionParamDefinition.allowableValues(String allowableValues) Allowed values of the parameter when its an enum typeParamDefinition.allowableValues(String... allowableValues) Allowed values of the parameter when its an enum typeParamDefinition.allowableValues(List<String> allowableValues) Allowed values of the parameter when its an enum typeThe data type of the array data typeParamDefinition.collectionFormat(CollectionFormat collectionFormat) Sets the collection format.ParamDefinition.dataFormat(String type) The data format of the parameter such as binary, date, date-time, password.The data type of the parameter such as string, integer, booleanParamDefinition.defaultValue(String name) The default value of the parameter.ParamDefinition.description(String name) Description of the parameter.Adds a single exampleAdds a body example with the given content-typeName of the parameter.RestDefinition.param()RestDefinition.param(VerbDefinition verb) Whether the parameter is requiredParamDefinition.type(RestParamType type) The parameter type such as body, form, header, path, queryMethods in org.apache.camel.model.rest that return types with arguments of type ParamDefinitionMethods in org.apache.camel.model.rest with parameters of type ParamDefinitionMethod parameters in org.apache.camel.model.rest with type arguments of type ParamDefinitionModifier and TypeMethodDescriptionRestDefinition.params(List<ParamDefinition> params) voidVerbDefinition.setParams(List<ParamDefinition> params) To specify the REST operation parameters.