Skip to content

Commit 2ffebe7

Browse files
committed
Update public API interface
1 parent 536218c commit 2ffebe7

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

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

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ namespace Microsoft.OpenApi.Models
459459
public const string BodyName = "x-bodyName";
460460
public const string Callbacks = "callbacks";
461461
public const string ClientCredentials = "clientCredentials";
462+
public const string Comment = "$comment";
462463
public const string Components = "components";
463464
public const string ComponentsSegment = "/components/";
464465
public const string Consumes = "consumes";
@@ -471,11 +472,15 @@ namespace Microsoft.OpenApi.Models
471472
public const string DefaultName = "Default Name";
472473
public const string DefaultTitle = "Default Title";
473474
public const string Definitions = "definitions";
475+
public const string Defs = "$defs";
474476
public const string Delete = "delete";
475477
public const string Deprecated = "deprecated";
476478
public const string Description = "description";
477479
public const string Discriminator = "discriminator";
478480
public const string DollarRef = "$ref";
481+
public const string DollarSchema = "$schema";
482+
public const string DynamicAnchor = "$dynamicAnchor";
483+
public const string DynamicRef = "$dynamicRef";
479484
public const string Email = "email";
480485
public const string Encoding = "encoding";
481486
public const string Enum = "enum";
@@ -495,6 +500,7 @@ namespace Microsoft.OpenApi.Models
495500
public const string Head = "head";
496501
public const string Headers = "headers";
497502
public const string Host = "host";
503+
public const string Id = "$id";
498504
public const string Identifier = "identifier";
499505
public const string Implicit = "implicit";
500506
public const string In = "in";
@@ -539,6 +545,8 @@ namespace Microsoft.OpenApi.Models
539545
public const string PropertyName = "propertyName";
540546
public const string Put = "put";
541547
public const string ReadOnly = "readOnly";
548+
public const string RecursiveAnchor = "$recursiveAnchor";
549+
public const string RecursiveRef = "$recursiveRef";
542550
public const string RefreshUrl = "refreshUrl";
543551
public const string RequestBodies = "requestBodies";
544552
public const string RequestBody = "requestBody";
@@ -563,13 +571,17 @@ namespace Microsoft.OpenApi.Models
563571
public const string TokenUrl = "tokenUrl";
564572
public const string Trace = "trace";
565573
public const string Type = "type";
574+
public const string UnevaluatedProperties = "unevaluatedProperties";
566575
public const string UniqueItems = "uniqueItems";
567576
public const string Url = "url";
568577
public const string V2ReferenceUri = "https://registry/definitions/";
578+
public const string V31ExclusiveMaximum = "exclusiveMaximum";
579+
public const string V31ExclusiveMinimum = "exclusiveMinimum";
569580
public const string V3ReferenceUri = "https://registry/components/schemas/";
570581
public const string Value = "value";
571582
public const string Variables = "variables";
572583
public const string Version = "version";
584+
public const string Vocabulary = "$vocabulary";
573585
public const string Webhooks = "webhooks";
574586
public const string Wrapped = "wrapped";
575587
public const string WriteOnly = "writeOnly";
@@ -945,6 +957,71 @@ namespace Microsoft.OpenApi.Models
945957
public OpenApiResponses() { }
946958
public OpenApiResponses(Microsoft.OpenApi.Models.OpenApiResponses openApiResponses) { }
947959
}
960+
public class OpenApiSchema : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiExtensible, Microsoft.OpenApi.Interfaces.IOpenApiReferenceable, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
961+
{
962+
public OpenApiSchema() { }
963+
public OpenApiSchema(Microsoft.OpenApi.Models.OpenApiSchema schema) { }
964+
public Microsoft.OpenApi.Models.OpenApiSchema AdditionalProperties { get; set; }
965+
public bool AdditionalPropertiesAllowed { get; set; }
966+
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiSchema> AllOf { get; set; }
967+
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiSchema> AnyOf { get; set; }
968+
public string Comment { get; set; }
969+
public Microsoft.OpenApi.Any.OpenApiAny Default { get; set; }
970+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiSchema> Definitions { get; set; }
971+
public bool Deprecated { get; set; }
972+
public string Description { get; set; }
973+
public Microsoft.OpenApi.Models.OpenApiDiscriminator Discriminator { get; set; }
974+
public string DynamicAnchor { get; set; }
975+
public string DynamicRef { get; set; }
976+
public System.Collections.Generic.IList<System.Text.Json.Nodes.JsonNode> Enum { get; set; }
977+
public Microsoft.OpenApi.Any.OpenApiAny Example { get; set; }
978+
public bool? ExclusiveMaximum { get; set; }
979+
public bool? ExclusiveMinimum { get; set; }
980+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension> Extensions { get; set; }
981+
public Microsoft.OpenApi.Models.OpenApiExternalDocs ExternalDocs { get; set; }
982+
public string Format { get; set; }
983+
public string Id { get; set; }
984+
public Microsoft.OpenApi.Models.OpenApiSchema Items { get; set; }
985+
public int? MaxItems { get; set; }
986+
public int? MaxLength { get; set; }
987+
public int? MaxProperties { get; set; }
988+
public decimal? Maximum { get; set; }
989+
public int? MinItems { get; set; }
990+
public int? MinLength { get; set; }
991+
public int? MinProperties { get; set; }
992+
public decimal? Minimum { get; set; }
993+
public decimal? MultipleOf { get; set; }
994+
public Microsoft.OpenApi.Models.OpenApiSchema Not { get; set; }
995+
public bool Nullable { get; set; }
996+
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiSchema> OneOf { get; set; }
997+
public string Pattern { get; set; }
998+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiSchema> Properties { get; set; }
999+
public bool ReadOnly { get; set; }
1000+
public string RecursiveAnchor { get; set; }
1001+
public string RecursiveRef { get; set; }
1002+
public Microsoft.OpenApi.Models.OpenApiReference Reference { get; set; }
1003+
public System.Collections.Generic.ISet<string> Required { get; set; }
1004+
public string Schema { get; set; }
1005+
public string Title { get; set; }
1006+
public string Type { get; set; }
1007+
public string[] TypeArray { get; set; }
1008+
public bool UnEvaluatedProperties { get; set; }
1009+
public bool UnevaluatedProperties { get; set; }
1010+
public bool? UniqueItems { get; set; }
1011+
public bool UnresolvedReference { get; set; }
1012+
public decimal V31ExclusiveMaximum { get; set; }
1013+
public decimal V31ExclusiveMinimum { get; set; }
1014+
public string Vocabulary { get; set; }
1015+
public bool WriteOnly { get; set; }
1016+
public Microsoft.OpenApi.Models.OpenApiXml Xml { get; set; }
1017+
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1018+
public void SerializeAsV2WithoutReference(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1019+
public virtual void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1020+
public virtual void SerializeAsV31(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1021+
public virtual void SerializeAsV31WithoutReference(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1022+
public virtual void SerializeAsV3WithoutReference(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1023+
public void SerializeInternalWithoutReference(Microsoft.OpenApi.Writers.IOpenApiWriter writer, Microsoft.OpenApi.OpenApiSpecVersion version, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, Microsoft.OpenApi.Interfaces.IOpenApiSerializable> callback) { }
1024+
}
9481025
public class OpenApiSecurityRequirement : System.Collections.Generic.Dictionary<Microsoft.OpenApi.Models.OpenApiSecurityScheme, System.Collections.Generic.IList<string>>, Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
9491026
{
9501027
public OpenApiSecurityRequirement() { }

0 commit comments

Comments
 (0)