Skip to content

Commit 2133509

Browse files
committed
chore: update public API
1 parent 69a2b9b commit 2133509

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ namespace Microsoft.OpenApi.Models.Interfaces
421421
string? Const { get; }
422422
System.Text.Json.Nodes.JsonNode? Default { get; }
423423
System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>? Definitions { get; }
424-
System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>> DependentRequired { get; }
424+
System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>>? DependentRequired { get; }
425425
bool Deprecated { get; }
426426
Microsoft.OpenApi.Models.OpenApiDiscriminator? Discriminator { get; }
427427
string? DynamicAnchor { get; }
@@ -777,7 +777,7 @@ namespace Microsoft.OpenApi.Models
777777
where T : Microsoft.OpenApi.Interfaces.IOpenApiSerializable
778778
{
779779
protected OpenApiExtensibleDictionary() { }
780-
protected OpenApiExtensibleDictionary(System.Collections.Generic.Dictionary<string, T>? dictionary, System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension>? extensions = null) { }
780+
protected OpenApiExtensibleDictionary(System.Collections.Generic.Dictionary<string, T> dictionary, System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension>? extensions = null) { }
781781
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension>? Extensions { get; set; }
782782
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
783783
public void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
@@ -975,7 +975,7 @@ namespace Microsoft.OpenApi.Models
975975
public string? ReferenceV2 { get; }
976976
public string? ReferenceV3 { get; }
977977
public string? Summary { get; set; }
978-
public Microsoft.OpenApi.Models.ReferenceType? Type { get; init; }
978+
public Microsoft.OpenApi.Models.ReferenceType Type { get; init; }
979979
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
980980
public void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
981981
public void SerializeAsV31(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
@@ -1024,7 +1024,7 @@ namespace Microsoft.OpenApi.Models
10241024
public string? Const { get; set; }
10251025
public System.Text.Json.Nodes.JsonNode? Default { get; set; }
10261026
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>? Definitions { get; set; }
1027-
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>> DependentRequired { get; set; }
1027+
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>>? DependentRequired { get; set; }
10281028
public bool Deprecated { get; set; }
10291029
public string? Description { get; set; }
10301030
public Microsoft.OpenApi.Models.OpenApiDiscriminator? Discriminator { get; set; }
@@ -1377,7 +1377,7 @@ namespace Microsoft.OpenApi.Models.References
13771377
public string? Const { get; }
13781378
public System.Text.Json.Nodes.JsonNode? Default { get; }
13791379
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>? Definitions { get; }
1380-
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>> DependentRequired { get; }
1380+
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>>? DependentRequired { get; }
13811381
public bool Deprecated { get; }
13821382
public string? Description { get; set; }
13831383
public Microsoft.OpenApi.Models.OpenApiDiscriminator? Discriminator { get; }
@@ -1988,8 +1988,8 @@ namespace Microsoft.OpenApi.Writers
19881988
public virtual void WriteValue(double value) { }
19891989
public virtual void WriteValue(int value) { }
19901990
public virtual void WriteValue(long value) { }
1991-
public virtual void WriteValue(object value) { }
19921991
public virtual void WriteValue(float value) { }
1992+
public virtual void WriteValue(object? value) { }
19931993
public abstract void WriteValue(string? value);
19941994
protected abstract void WriteValueSeparator();
19951995
public static void WriteV2Examples(Microsoft.OpenApi.Writers.IOpenApiWriter writer, Microsoft.OpenApi.Models.OpenApiExample example, Microsoft.OpenApi.OpenApiSpecVersion version) { }
@@ -1999,10 +1999,10 @@ namespace Microsoft.OpenApi.Writers
19991999
public static void WriteOptionalCollection(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IEnumerable<string?>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, string?> action) { }
20002000
public static void WriteOptionalCollection<T>(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IEnumerable<T>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, T> action) { }
20012001
public static void WriteOptionalMap(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, bool>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, bool> action) { }
2002+
public static void WriteOptionalMap(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, System.Collections.Generic.ISet<string>> action) { }
20022003
public static void WriteOptionalMap(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, string>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, string> action) { }
20032004
public static void WriteOptionalMap(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, System.Text.Json.Nodes.JsonNode>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, System.Text.Json.Nodes.JsonNode> action) { }
20042005
public static void WriteOptionalMap<T>(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, T>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, T> action)
2005-
public static void WriteOptionalMap(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, System.Collections.Generic.ISet<string>> elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, System.Collections.Generic.ISet<string>> action) { }
20062006
where T : Microsoft.OpenApi.Interfaces.IOpenApiElement { }
20072007
public static void WriteOptionalMap<T>(this Microsoft.OpenApi.Writers.IOpenApiWriter writer, string name, System.Collections.Generic.IDictionary<string, T>? elements, System.Action<Microsoft.OpenApi.Writers.IOpenApiWriter, string, T> action)
20082008
where T : Microsoft.OpenApi.Interfaces.IOpenApiElement { }

0 commit comments

Comments
 (0)