tapir icon indicating copy to clipboard operation
tapir copied to clipboard

multipleOf is not supported in sttp.apispec.Schema

Open wickeduk opened this issue 2 years ago • 0 comments

multipleOf is mentioned in the swagger.io documentation to specify a number must be a multiple of another. This is not in the Schema class.

Was asked by adamw to raise an issue who believes that 'adding a new validator should do the trick'.

This is currently requested by a client of mine as a way of reporting to end-users valid values that can be sent so they can configure their UI as appropriate.

wickeduk avatar Dec 21 '22 08:12 wickeduk