Api attribute validation

Support additional API attribute annotations: @maxLength, @minLength,
@maxValue, @minValue and validate them.
Also added support in the documentation.
#PLAT-537 #time 6h