Share via


OpenApiPaths Class

Definition

Paths object.

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

Constructors

OpenApiPaths()

Parameterless constructor

OpenApiPaths(OpenApiPaths)

Initializes a copy of OpenApiPaths 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