-
Notifications
You must be signed in to change notification settings - Fork 253
/
Copy pathIOpenApiPathItem.cs
29 lines (25 loc) · 1.13 KB
/
IOpenApiPathItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System.Collections.Generic;
using System.Net.Http;
using Microsoft.OpenApi.Interfaces;
namespace Microsoft.OpenApi.Models.Interfaces;
/// <summary>
/// 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.
/// </summary>
public interface IOpenApiPathItem : IOpenApiDescribedElement, IOpenApiSummarizedElement, IOpenApiReadOnlyExtensible, IShallowCopyable<IOpenApiPathItem>, IOpenApiReferenceable
{
/// <summary>
/// Gets the definition of operations on this path.
/// </summary>
public Dictionary<HttpMethod, OpenApiOperation>? Operations { get; }
/// <summary>
/// An alternative server array to service all operations in this path.
/// </summary>
public List<OpenApiServer>? Servers { get; }
/// <summary>
/// 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.
/// </summary>
public List<IOpenApiParameter>? Parameters { get; }
}