Skip to content

Commit 2595c94

Browse files
committed
Update API interface
1 parent 0d51847 commit 2595c94

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ namespace Microsoft.OpenApi.Models
363363
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiHeader> Headers { get; set; }
364364
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiLink> Links { get; set; }
365365
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiParameter> Parameters { get; set; }
366+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem> PathItems { get; set; }
366367
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiRequestBody> RequestBodies { get; set; }
367368
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiResponse> Responses { get; set; }
368369
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiSchema> Schemas { get; set; }
@@ -453,6 +454,7 @@ namespace Microsoft.OpenApi.Models
453454
public const string Parameters = "parameters";
454455
public const string Password = "password";
455456
public const string Patch = "patch";
457+
public const string PathItems = "pathItems";
456458
public const string Paths = "paths";
457459
public const string Pattern = "pattern";
458460
public const string Post = "post";
@@ -491,6 +493,7 @@ namespace Microsoft.OpenApi.Models
491493
public const string Value = "value";
492494
public const string Variables = "variables";
493495
public const string Version = "version";
496+
public const string Webhooks = "webhooks";
494497
public const string Wrapped = "wrapped";
495498
public const string WriteOnly = "writeOnly";
496499
public const string Xml = "xml";
@@ -531,6 +534,7 @@ namespace Microsoft.OpenApi.Models
531534
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiSecurityRequirement> SecurityRequirements { get; set; }
532535
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiServer> Servers { get; set; }
533536
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiTag> Tags { get; set; }
537+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem> Webhooks { get; set; }
534538
public Microsoft.OpenApi.Services.OpenApiWorkspace Workspace { get; set; }
535539
public Microsoft.OpenApi.Interfaces.IOpenApiReferenceable ResolveReference(Microsoft.OpenApi.Models.OpenApiReference reference) { }
536540
public System.Collections.Generic.IEnumerable<Microsoft.OpenApi.Models.OpenApiError> ResolveReferences() { }
@@ -628,6 +632,7 @@ namespace Microsoft.OpenApi.Models
628632
public string Description { get; set; }
629633
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension> Extensions { get; set; }
630634
public Microsoft.OpenApi.Models.OpenApiLicense License { get; set; }
635+
public string Summary { get; set; }
631636
public System.Uri TermsOfService { get; set; }
632637
public string Title { get; set; }
633638
public string Version { get; set; }
@@ -1018,6 +1023,8 @@ namespace Microsoft.OpenApi.Models
10181023
Callback = 8,
10191024
[Microsoft.OpenApi.Attributes.Display("tags")]
10201025
Tag = 9,
1026+
[Microsoft.OpenApi.Attributes.Display("pathItems")]
1027+
PathItem = 10,
10211028
}
10221029
public class RuntimeExpressionAnyWrapper : Microsoft.OpenApi.Interfaces.IOpenApiElement
10231030
{
@@ -1084,6 +1091,7 @@ namespace Microsoft.OpenApi.Services
10841091
public override void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiExample> examples) { }
10851092
public override void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiHeader> headers) { }
10861093
public override void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiLink> links) { }
1094+
public override void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem> webhooks) { }
10871095
public override void Visit(System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiParameter> parameters) { }
10881096
}
10891097
public class OpenApiUrlTreeNode
@@ -1144,6 +1152,7 @@ namespace Microsoft.OpenApi.Services
11441152
public virtual void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiHeader> headers) { }
11451153
public virtual void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiLink> links) { }
11461154
public virtual void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiMediaType> content) { }
1155+
public virtual void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem> webhooks) { }
11471156
public virtual void Visit(System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiServerVariable> serverVariables) { }
11481157
public virtual void Visit(System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiExample> example) { }
11491158
public virtual void Visit(System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiParameter> parameters) { }

0 commit comments

Comments
 (0)