Number

zio.http.endpoint.openapi.JsonSchema.Number
See theNumber companion object
final case class Number(format: NumberFormat, minimum: Option[Double] = ..., exclusiveMinimum: Option[Either[Boolean, Double]] = ..., maximum: Option[Double] = ..., exclusiveMaximum: Option[Either[Boolean, Double]] = ..., multipleOf: Option[Double] = ...) extends JsonSchema

Attributes

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

Members list

Value members

Inherited methods

def annotate(annotation: MetaData): JsonSchema

Attributes

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

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala
final def isNullable: Boolean

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

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

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def toJson: String

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala

Attributes

Inherited from:
JsonSchema
Source
JsonSchema.scala