trait ValidatorMacros
- Companion
- object
Value members
Concrete methods
inline
Creates an enum validator where all subtypes of the sealed hierarchy T
are object
s. This enumeration will only be used for
documentation, as a value outside of the allowed values will not be decoded in the first place (the decoder has no other option than
to fail).
Creates an enum validator where all subtypes of the sealed hierarchy T
are object
s. This enumeration will only be used for
documentation, as a value outside of the allowed values will not be decoded in the first place (the decoder has no other option than
to fail).