OpenApiBoolean Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |