openapi-schema-core
openapi-schema-core
net.hamnaberg.schema
Bound
Bound
Inclusive
Inclusive
Exclusive
Exclusive
BoundCompanion
Bounds
Prism
Prism
Schema
Schema
FieldBuilder
AltBuilder
ValidationError
structure
SInt
SNum
SBool
Str
Sequence
Record
Isos
Defer
Enumeration
Sum
Custom
Field
Field
Optional
Required
Alt
XMap
syntax
ComponentsOps
OperationOps
PathItemOps
net.hamnaberg.schema.internal
Tapir
decoding
encoding
validation
openapi-schema-core
/
net.hamnaberg.schema
/
Schema
Schema
sealed
trait
Schema
[A]
Companion
object
Graph
Supertypes
Known subtypes
class
Object
trait
Matchable
class
Any
class
SInt
class
SNum
object
SBool
class
Str
class
Sequence
[
A
]
class
Record
[
R
]
class
Isos
[
A
]
class
Defer
[
A
]
class
Enumeration
class
Sum
[
A
]
class
Custom
[
A
]
Value members
Value members
Concrete methods
def
asList
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
List
[
A
]]
Implicitly added by
vector
def
asList
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
List
[
A
]]
Implicitly added by
list
def
asList
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
List
[
A
]]
Implicitly added by
seq
def
asList
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
List
[
A
]]
def
asSeq
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Seq
[
A
]]
Implicitly added by
vector
def
asSeq
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Seq
[
A
]]
Implicitly added by
list
def
asSeq
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Seq
[
A
]]
Implicitly added by
seq
def
asSeq
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Seq
[
A
]]
def
asVector
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Vector
[
A
]]
Implicitly added by
vector
def
asVector
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Vector
[
A
]]
Implicitly added by
list
def
asVector
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Vector
[
A
]]
Implicitly added by
seq
def
asVector
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Vector
[
A
]]
def
at
(field:
String
, ref:
Option
[
Reference
]):
Schema
[
A
]
Implicitly added by
vector
def
at
(field:
String
, ref:
Option
[
Reference
]):
Schema
[
A
]
Implicitly added by
list
def
at
(field:
String
, ref:
Option
[
Reference
]):
Schema
[
A
]
Implicitly added by
seq
def
at
(field:
String
, ref:
Option
[
Reference
]):
Schema
[
A
]
def
compiled
:
Schema
Implicitly added by
vector
def
compiled
:
Schema
Implicitly added by
list
def
compiled
:
Schema
Implicitly added by
seq
def
compiled
:
Schema
def
decode
(json:
Json
):
Result
[
A
]
Implicitly added by
vector
def
decode
(json:
Json
):
Result
[
A
]
Implicitly added by
list
def
decode
(json:
Json
):
Result
[
A
]
Implicitly added by
seq
def
decode
(json:
Json
):
Result
[
A
]
def
decoder
:
Decoder
[
A
]
Implicitly added by
vector
def
decoder
:
Decoder
[
A
]
Implicitly added by
list
def
decoder
:
Decoder
[
A
]
Implicitly added by
seq
def
decoder
:
Decoder
[
A
]
def
encode
(a:
A
):
Json
Implicitly added by
vector
def
encode
(a:
A
):
Json
Implicitly added by
list
def
encode
(a:
A
):
Json
Implicitly added by
seq
def
encode
(a:
A
):
Json
def
encoder
:
Encoder
[
A
]
Implicitly added by
vector
def
encoder
:
Encoder
[
A
]
Implicitly added by
list
def
encoder
:
Encoder
[
A
]
Implicitly added by
seq
def
encoder
:
Encoder
[
A
]
def
imap
[B](f:
A
=> B)(g: B =>
A
):
Schema
[B]
Implicitly added by
vector
def
imap
[B](f:
A
=> B)(g: B =>
A
):
Schema
[B]
Implicitly added by
list
def
imap
[B](f:
A
=> B)(g: B =>
A
):
Schema
[B]
Implicitly added by
seq
def
imap
[B](f:
A
=> B)(g: B =>
A
):
Schema
[B]
def
reference
(ref:
Reference
):
Schema
[
A
]
Implicitly added by
vector
def
reference
(ref:
Reference
):
Schema
[
A
]
Implicitly added by
list
def
reference
(ref:
Reference
):
Schema
[
A
]
Implicitly added by
seq
def
reference
(ref:
Reference
):
Schema
[
A
]
def
validate
(json:
Json
):
ValidatedNel
[
ValidationError
,
Json
]
Implicitly added by
vector
def
validate
(json:
Json
):
ValidatedNel
[
ValidationError
,
Json
]
Implicitly added by
list
def
validate
(json:
Json
):
ValidatedNel
[
ValidationError
,
Json
]
Implicitly added by
seq
def
validate
(json:
Json
):
ValidatedNel
[
ValidationError
,
Json
]
def
validateDecode
(json:
Json
):
ValidatedNel
[
ValidationError
,
A
]
Implicitly added by
vector
def
validateDecode
(json:
Json
):
ValidatedNel
[
ValidationError
,
A
]
Implicitly added by
list
def
validateDecode
(json:
Json
):
ValidatedNel
[
ValidationError
,
A
]
Implicitly added by
seq
def
validateDecode
(json:
Json
):
ValidatedNel
[
ValidationError
,
A
]
def
xmap
[B](f:
A
=>
Result
[B])(g: B =>
A
):
Schema
[B]
Implicitly added by
vector
def
xmap
[B](f:
A
=>
Result
[B])(g: B =>
A
):
Schema
[B]
Implicitly added by
list
def
xmap
[B](f:
A
=>
Result
[B])(g: B =>
A
):
Schema
[B]
Implicitly added by
seq
def
xmap
[B](f:
A
=>
Result
[B])(g: B =>
A
):
Schema
[B]
Concrete fields
val
compiled_
:
Eval
[
Schema
]
Implicitly added by
vector
val
compiled_
:
Eval
[
Schema
]
Implicitly added by
list
val
compiled_
:
Eval
[
Schema
]
Implicitly added by
seq
val
compiled_
:
Eval
[
Schema
]
val
decoder_
:
Eval
[
Decoder
[
A
]]
Implicitly added by
vector
val
decoder_
:
Eval
[
Decoder
[
A
]]
Implicitly added by
list
val
decoder_
:
Eval
[
Decoder
[
A
]]
Implicitly added by
seq
val
decoder_
:
Eval
[
Decoder
[
A
]]
val
encoder_
:
Eval
[
Encoder
[
A
]]
Implicitly added by
vector
val
encoder_
:
Eval
[
Encoder
[
A
]]
Implicitly added by
list
val
encoder_
:
Eval
[
Encoder
[
A
]]
Implicitly added by
seq
val
encoder_
:
Eval
[
Encoder
[
A
]]