OpenApiBoolean Class

Definition

Open API boolean.

public class OpenApiBoolean : Microsoft.OpenApi.Any.OpenApiPrimitive<bool>
type OpenApiBoolean = class
    inherit OpenApiPrimitive<bool>
Public Class OpenApiBoolean
Inherits OpenApiPrimitive(Of Boolean)
Inheritance
OpenApiBoolean

Constructors

OpenApiBoolean(Boolean)

Initializes the OpenApiBoolean class.

Properties

AnyType

The kind of IOpenApiAny.

(Inherited from OpenApiPrimitive<T>)
PrimitiveType

Primitive type this object represents.

Value

Value of this IOpenApiPrimitive

(Inherited from OpenApiPrimitive<T>)

Methods

Write(IOpenApiWriter, OpenApiSpecVersion)

Write out content of primitive element

(Inherited from OpenApiPrimitive<T>)

Extension Methods

Validate(IOpenApiElement, ValidationRuleSet)

Validate element and all child elements

Applies to