26 lines
829 B
C#
26 lines
829 B
C#
// ------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
|
|
// ------------------------------------------------------------
|
|
|
|
namespace Microsoft.OpenApi.Any
|
|
{
|
|
/// <summary>
|
|
/// Open API Float
|
|
/// </summary>
|
|
public class OpenApiFloat : OpenApiPrimitive<float>
|
|
{
|
|
/// <summary>
|
|
/// Initializes the <see cref="OpenApiFloat"/> class.
|
|
/// </summary>
|
|
public OpenApiFloat(float value)
|
|
: base(value)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Primitive type this object represents.
|
|
/// </summary>
|
|
public override PrimitiveType PrimitiveType { get; } = PrimitiveType.Float;
|
|
}
|
|
} |