ReferenceOr

zio.blocks.openapi.ReferenceOr
See theReferenceOr companion trait
object ReferenceOr

Attributes

Companion
trait
Source
OpenAPI.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Ref(reference: Reference) extends ReferenceOr[Nothing]

A reference to a component defined elsewhere in the OpenAPI document.

A reference to a component defined elsewhere in the OpenAPI document.

Value parameters

reference

The Reference object containing the $$ref URI.

Attributes

Source
OpenAPI.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ReferenceOr[Nothing]
class Object
trait Matchable
class Any
Show all
final case class Value[A](value: A) extends ReferenceOr[A]

A concrete value (not a reference).

A concrete value (not a reference).

Value parameters

value

The actual value of type A.

Attributes

Source
OpenAPI.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ReferenceOr[A]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Implicits

Implicits

implicit def schema[A : Schema]: Schema[ReferenceOr[A]]

Attributes

Source
OpenAPI.scala