JsonSchema

zio.http.endpoint.openapi.JsonSchema
See theJsonSchema companion object
sealed trait JsonSchema extends Product, Serializable

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class AllOfSchema
class AnyOfSchema
class ArrayType
object Boolean.type
class Enum
class Integer
object Null.type
class Number
class Object
class OneOfSchema
class RefSchema
object String.type
Show all
Self type

Members list

Value members

Concrete methods

def annotate(annotations: Chunk[MetaData]): JsonSchema
def annotate(annotation: MetaData): JsonSchema
def default(default: Option[Json]): JsonSchema
def default(default: Json): JsonSchema
def deprecated(deprecated: Boolean): JsonSchema
def description(description: String): JsonSchema
def description(description: Option[String]): JsonSchema
def discriminator(discriminator: Discriminator): JsonSchema
def examples(examples: Chunk[Json]): JsonSchema
def nullable(nullable: Boolean): JsonSchema

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val toJson: String
lazy val toJsonBytes: Chunk[Byte]