module SoberSwag::Reporting::Input::Converting

Namespace for things that can do conversion. These are really just compound types that kinda look nice.

Constants

Bool

Try to convert a boolean-like value to an actual boolean.

Date

Convert via a date.

Note: unlike the swagger spec, we first try to convert rfc8601, then try rfc3339.

DateTime

Convert via a date.

Decimal

Parse a decimal.

Integer