Share via


OpenApiInteger Class

Definition

Open API Integer

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

Constructors

OpenApiInteger(Int32)

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