Class

com.avsystem.commons.rest.openapi.Schema

RefOrOps

Related Doc: package Schema

Permalink

implicit final class RefOrOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefOrOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RefOrOps(refOrSchema: RefOr[Schema])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. def map(f: (Schema) ⇒ Schema): RefOr[Schema]

    Permalink
  8. def rewrapRefToAllOf: Schema

    Permalink

    Transforms a potential schema reference into an actual Schema by wrapping the reference into allOf property of the new schema, e.g.

    Transforms a potential schema reference into an actual Schema by wrapping the reference into allOf property of the new schema, e.g. {"$$ref": "#/components/schemas/Entity"} becomes {"allOf": [{"$$ref": "#/components/schemas/Entity"}]}.

  9. def toString(): String

    Permalink
    Definition Classes
    Any
  10. def withDefaultValue(dv: commons.Opt[JsonValue]): RefOr[Schema]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped