Object

zio.http.endpoint.openapi.JsonSchema.Object
See theObject companion object
final case class Object(properties: Map[String, JsonSchema], additionalProperties: Either[Boolean, JsonSchema], required: Chunk[String]) extends JsonSchema

Attributes

Companion
object
Graph
Supertypes
trait JsonSchema
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAll(value: Chunk[(String, JsonSchema)]): Object
def required(required: Chunk[String]): Object

Inherited methods

def annotate(annotation: MetaData): JsonSchema

Attributes

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

Attributes

Inherited from:
JsonSchema

Attributes

Inherited from:
JsonSchema

Attributes

Inherited from:
JsonSchema
def contentMediaType(mediaType: String): JsonSchema

Attributes

Inherited from:
JsonSchema
def default(default: Json): JsonSchema

Attributes

Inherited from:
JsonSchema
def default(default: Option[Json]): JsonSchema

Attributes

Inherited from:
JsonSchema
def deprecated(deprecated: Boolean): JsonSchema

Attributes

Inherited from:
JsonSchema
def description: Option[String]

Attributes

Inherited from:
JsonSchema
def description(description: Option[String]): JsonSchema

Attributes

Inherited from:
JsonSchema
def description(description: String): JsonSchema

Attributes

Inherited from:
JsonSchema
def discriminator(discriminator: Option[Discriminator]): JsonSchema

Attributes

Inherited from:
JsonSchema
def discriminator(discriminator: Discriminator): JsonSchema

Attributes

Inherited from:
JsonSchema
def examples(examples: Chunk[Json]): JsonSchema

Attributes

Inherited from:
JsonSchema
def isCollection: Boolean

Attributes

Inherited from:
JsonSchema
def isPrimitive: Boolean

Attributes

Inherited from:
JsonSchema
def nullable(nullable: Boolean): JsonSchema

Attributes

Inherited from:
JsonSchema
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Attributes

Inherited from:
JsonSchema

Inherited fields

lazy val toJson: String

Attributes

Inherited from:
JsonSchema
lazy val toJsonBytes: Chunk[Byte]

Attributes

Inherited from:
JsonSchema