Share via


OpenApiResponses Class

Definition

Responses object.

public class OpenApiResponses : Microsoft.OpenApi.Models.OpenApiExtensibleDictionary<Microsoft.OpenApi.Models.OpenApiResponse>
type OpenApiResponses = class
    inherit OpenApiExtensibleDictionary<OpenApiResponse>
Public Class OpenApiResponses
Inherits OpenApiExtensibleDictionary(Of OpenApiResponse)
Inheritance

Constructors

OpenApiResponses()

Parameterless constructor

OpenApiResponses(OpenApiResponses)

Initializes a copy of OpenApiResponses object

Properties

Extensions

This object MAY be extended with Specification Extensions.

(Inherited from OpenApiExtensibleDictionary<T>)

Methods

SerializeAsV2(IOpenApiWriter)

Serialize to Open Api v2.0

(Inherited from OpenApiExtensibleDictionary<T>)
SerializeAsV3(IOpenApiWriter)

Serialize to Open Api v3.0

(Inherited from OpenApiExtensibleDictionary<T>)

Extension Methods

Validate(IOpenApiElement, ValidationRuleSet)

Validate element and all child elements

Applies to