OpenApiDate Class

Definition

Open API Date

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

Constructors

OpenApiDate(DateTime)

Initializes the OpenApiDate 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