noMoreThan

fun noMoreThan(param: String, value: String, id: String? = null)

Adds a requirement that the value of the specified parameter is not greater than the given value

Parameters

param

parameter name

value

value to check

id

optional requirement id, if not specified will be generated