OpenApiDeprecationExtension Class

Definition

Extension element for OpenAPI to add deprecation information. x-ms-deprecation

C#
public class OpenApiDeprecationExtension : Microsoft.OpenApi.Interfaces.IOpenApiExtension
Inheritance
OpenApiDeprecationExtension
Implements

Constructors

Properties

Date

The date at which the element has been/will be deprecated.

Description

The description of the revision.

Name

Name of the extension as used in the description.

RemovalDate

The date at which the element has been/will be removed entirely from the service.

Version

The version this revision was introduced.

Methods

Write(IOpenApiWriter, OpenApiSpecVersion)

Write out contents of custom extension

Applies to

Toode Versioonid
Open API .NET OData latest