Share via


OpenApiDeprecationExtension Class

Definition

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

public class OpenApiDeprecationExtension : Microsoft.OpenApi.Interfaces.IOpenApiExtension
type OpenApiDeprecationExtension = class
    interface IOpenApiExtension
Public Class OpenApiDeprecationExtension
Implements IOpenApiExtension
Inheritance
OpenApiDeprecationExtension
Implements

Constructors

OpenApiDeprecationExtension()

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