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
/
structure
/
SBool
SBool
case
object
SBool
extends
Schema
[
Boolean
]
Graph
Supertypes
trait
Singleton
trait
Product
trait
Mirror
trait
Serializable
trait
Product
trait
Equals
trait
Schema
[
Boolean
]
class
Object
trait
Matchable
class
Any
Type members
Value members
Type members
Inherited types
type
MirroredElemLabels
=
EmptyTuple
Inherited from
Singleton
type
MirroredElemTypes
=
EmptyTuple
Inherited from
Singleton
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from
Mirror
type
MirroredMonoType
=
Singleton
Inherited from
Singleton
type
MirroredType
=
Singleton
Inherited from
Singleton
Value members
Inherited methods
def
asList
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
List
[
Boolean
]]
Inherited from
Schema
def
asSeq
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Seq
[
Boolean
]]
Inherited from
Schema
def
asVector
(reference:
Option
[
Reference
], min:
Option
[
Int
], max:
Option
[
Int
]):
Schema
[
Vector
[
Boolean
]]
Inherited from
Schema
def
at
(field:
String
, ref:
Option
[
Reference
]):
Schema
[
Boolean
]
Inherited from
Schema
def
compiled
:
Schema
Inherited from
Schema
def
decode
(json:
Json
):
Result
[
Boolean
]
Inherited from
Schema
def
decoder
:
Decoder
[
Boolean
]
Inherited from
Schema
def
encode
(a:
Boolean
):
Json
Inherited from
Schema
def
encoder
:
Encoder
[
Boolean
]
Inherited from
Schema
def
fromProduct
(p:
Product
):
MirroredMonoType
Inherited from
Singleton
def
imap
[B](f:
Boolean
=> B)(g: B =>
Boolean
):
Schema
[B]
Inherited from
Schema
def
productElementNames
:
Iterator
[
String
]
Inherited from
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from
Product
def
reference
(ref:
Reference
):
Schema
[
Boolean
]
Inherited from
Schema
def
validate
(json:
Json
):
ValidatedNel
[
ValidationError
,
Json
]
Inherited from
Schema
def
validateDecode
(json:
Json
):
ValidatedNel
[
ValidationError
,
Boolean
]
Inherited from
Schema
def
xmap
[B](f:
Boolean
=>
Result
[B])(g: B =>
Boolean
):
Schema
[B]
Inherited from
Schema
Inherited fields
val
compiled_
:
Eval
[
Schema
]
Inherited from
Schema
val
decoder_
:
Eval
[
Decoder
[
Boolean
]]
Inherited from
Schema
val
encoder_
:
Eval
[
Encoder
[
Boolean
]]
Inherited from
Schema