OpenApiResponses 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.
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 |