IOpenApiPathItem Interface
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.
Defines the base properties for the path item object. This interface is provided for type assertions but should not be implemented by package consumers beyond automatic mocking.
public interface IOpenApiPathItem : Microsoft.OpenApi.IOpenApiDescribedElement, Microsoft.OpenApi.IOpenApiReadOnlyExtensible, Microsoft.OpenApi.IOpenApiReferenceable, Microsoft.OpenApi.IOpenApiSummarizedElement, Microsoft.OpenApi.IShallowCopyable<Microsoft.OpenApi.IOpenApiPathItem>
type IOpenApiPathItem = interface
interface IOpenApiDescribedElement
interface IOpenApiElement
interface IOpenApiSummarizedElement
interface IOpenApiReadOnlyExtensible
interface IShallowCopyable<IOpenApiPathItem>
interface IOpenApiReferenceable
interface IOpenApiSerializable
Public Interface IOpenApiPathItem
Implements IOpenApiDescribedElement, IOpenApiReadOnlyExtensible, IOpenApiReferenceable, IOpenApiSummarizedElement, IShallowCopyable(Of IOpenApiPathItem)
- Derived
- Implements
Properties
| Name | Description |
|---|---|
| Description |
Long description for the example. CommonMark syntax MAY be used for rich text representation. (Inherited from IOpenApiDescribedElement) |
| Extensions |
Specification extensions. (Inherited from IOpenApiReadOnlyExtensible) |
| Operations |
Gets the definition of operations on this path. |
| Parameters |
A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. |
| Servers |
An alternative server array to service all operations in this path. |
| Summary |
Short description for the example. (Inherited from IOpenApiSummarizedElement) |
Methods
| Name | Description |
|---|---|
| CreateShallowCopy() |
Create a shallow copy of the current instance. (Inherited from IShallowCopyable<T>) |
| SerializeAsV2(IOpenApiWriter) |
Serialize Open API element to v2.0. (Inherited from IOpenApiSerializable) |
| SerializeAsV3(IOpenApiWriter) |
Serialize Open API element to v3.0. (Inherited from IOpenApiSerializable) |
| SerializeAsV31(IOpenApiWriter) |
Serialize OpenAPI element into v3.1 (Inherited from IOpenApiSerializable) |
| SerializeAsV32(IOpenApiWriter) |
Serialize OpenAPI element into v3.2 (Inherited from IOpenApiSerializable) |
Extension Methods
| Name | Description |
|---|---|
| Validate(IOpenApiElement, ValidationRuleSet) |
Validate element and all child elements |