JsonSchema

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

Attributes

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

Members list

Value members

Concrete methods

def annotate(annotations: Chunk[MetaData]): JsonSchema

Attributes

Source
JsonSchema.scala
def annotate(annotation: MetaData): JsonSchema

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala
def default(default: Option[Json]): JsonSchema

Attributes

Source
JsonSchema.scala
def default(default: Json): JsonSchema

Attributes

Source
JsonSchema.scala
def deprecated(deprecated: Boolean): JsonSchema

Attributes

Source
JsonSchema.scala
def description(description: String): JsonSchema

Attributes

Source
JsonSchema.scala
def description(description: Option[String]): JsonSchema

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala
def discriminator(discriminator: Discriminator): JsonSchema

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala
def examples(examples: Chunk[Json]): JsonSchema

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala
final def isNullable: Boolean

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala
def nullable(nullable: Boolean): JsonSchema

Attributes

Source
JsonSchema.scala
def toJson: String

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

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

Attributes

Inherited from:
Product