Share via


OpenApiFloat Class

Definition

Open API Float

public class OpenApiFloat : Microsoft.OpenApi.Any.OpenApiPrimitive<float>
type OpenApiFloat = class
    inherit OpenApiPrimitive<single>
Public Class OpenApiFloat
Inherits OpenApiPrimitive(Of Single)
Inheritance

Constructors

OpenApiFloat(Single)

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