ValidatorMacros

sttp.tapir.macros.ValidatorMacros

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Validator.type

Members list

Concise view

Value members

Concrete methods

Creates an enum validator for an enum where all cases are parameterless, or where all subtypes of the sealed hierarchy T are objects. 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 for an enum where all cases are parameterless, or where all subtypes of the sealed hierarchy T are objects. 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).

Attributes