ReferenceOr

zio.blocks.openapi.ReferenceOr
See theReferenceOr companion object
sealed trait ReferenceOr[+A]

A type that can either be a Reference or a concrete value of type A. This pattern is used extensively in OpenAPI 3.1 to allow reusable components.

Type parameters

A

The type of the concrete value when not using a reference.

Attributes

Companion
object
Source
OpenAPI.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Ref
class Value[A]
In this article