Instance Propertyswift-openapi-runtime 1.6.0OpenAPIRuntime
value
The underlying dynamic value.
OpenAPIValue.swift:49var value: (any Sendable)?
Other members in extension
Type members
init(booleanLiteral: BooleanLiteralType
) Creates an
OpenAPIValueContainer
with the provided boolean value.init(floatLiteral: Double
) Creates an
OpenAPIValueContainer
with the provided floating-point value.init(from: any Decoder
) throws Initializes an
OpenAPIValueContainer
by decoding it from a decoder.init(integerLiteral: Int
) Creates an
OpenAPIValueContainer
with the provided integer value.init(nilLiteral: ()
) Creates an
OpenAPIValueContainer
with anil
value.init(stringLiteral: String
) Creates an
OpenAPIValueContainer
with the provided string value.init(unvalidatedValue: (any Sendable)?
) throws Creates a new container with the given unvalidated value.
static func == (lhs: OpenAPIValueContainer, rhs: OpenAPIValueContainer
) -> Bool Compares two
OpenAPIValueContainer
instances for equality.
Instance members
func encode(to: any Encoder
) throws Encodes the
OpenAPIValueContainer
and writes it to an encoder.func hash(into: inout Hasher
) Hashes the
OpenAPIValueContainer
instance into a hasher.