@@ -7,8 +7,8 @@ namespace Microsoft.OpenApi.Any
77{
88 public class OpenApiAny : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiExtension
99 {
10- public OpenApiAny(System.Text.Json.Nodes.JsonNode? jsonNode) { }
11- public System.Text.Json.Nodes.JsonNode? Node { get; }
10+ public OpenApiAny(System.Text.Json.Nodes.JsonNode jsonNode) { }
11+ public System.Text.Json.Nodes.JsonNode Node { get; }
1212 public void Write(Microsoft.OpenApi.Writers.IOpenApiWriter writer, Microsoft.OpenApi.OpenApiSpecVersion specVersion) { }
1313 }
1414}
@@ -17,8 +17,8 @@ namespace Microsoft.OpenApi.Attributes
1717 [System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
1818 public class DisplayAttribute : System.Attribute
1919 {
20- public DisplayAttribute(string? name) { }
21- public string? Name { get; }
20+ public DisplayAttribute(string name) { }
21+ public string Name { get; }
2222 }
2323}
2424namespace Microsoft.OpenApi.Exceptions
@@ -37,14 +37,13 @@ namespace Microsoft.OpenApi.Exceptions
3737 public OpenApiReaderException(string message) { }
3838 public OpenApiReaderException(string message, Microsoft.OpenApi.Reader.ParsingContext context) { }
3939 public OpenApiReaderException(string message, System.Exception innerException) { }
40- public OpenApiReaderException(string message, System.Text.Json.Nodes.JsonNode? node) { }
4140 }
4241 [System.Serializable]
4342 public class OpenApiUnsupportedSpecVersionException : System.Exception
4443 {
45- public OpenApiUnsupportedSpecVersionException(string? specificationVersion) { }
44+ public OpenApiUnsupportedSpecVersionException(string specificationVersion) { }
4645 public OpenApiUnsupportedSpecVersionException(string specificationVersion, System.Exception innerException) { }
47- public string? SpecificationVersion { get; }
46+ public string SpecificationVersion { get; }
4847 }
4948 public class OpenApiWriterException : Microsoft.OpenApi.Exceptions.OpenApiException
5049 {
@@ -1246,7 +1245,7 @@ namespace Microsoft.OpenApi.Models.References
12461245 where V : Microsoft.OpenApi.Interfaces.IOpenApiSerializable
12471246 {
12481247 protected BaseOpenApiReferenceHolder(Microsoft.OpenApi.Models.References.BaseOpenApiReferenceHolder<T, V> source) { }
1249- protected BaseOpenApiReferenceHolder(string? referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument, Microsoft.OpenApi.Models.ReferenceType referenceType, string? externalResource) { }
1248+ protected BaseOpenApiReferenceHolder(string referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument, Microsoft.OpenApi.Models.ReferenceType referenceType, string? externalResource) { }
12501249 public Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
12511250 public virtual T Target { get; }
12521251 public bool UnresolvedReference { get; }
@@ -1310,7 +1309,7 @@ namespace Microsoft.OpenApi.Models.References
13101309 }
13111310 public class OpenApiParameterReference : Microsoft.OpenApi.Models.References.BaseOpenApiReferenceHolder<Microsoft.OpenApi.Models.OpenApiParameter, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>, Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiReadOnlyExtensible, Microsoft.OpenApi.Interfaces.IOpenApiSerializable, Microsoft.OpenApi.Interfaces.IShallowCopyable<Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>, Microsoft.OpenApi.Models.Interfaces.IOpenApiDescribedElement, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter
13121311 {
1313- public OpenApiParameterReference(string? referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument = null, string? externalResource = null) { }
1312+ public OpenApiParameterReference(string referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument = null, string? externalResource = null) { }
13141313 public bool AllowEmptyValue { get; }
13151314 public bool AllowReserved { get; }
13161315 public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiMediaType>? Content { get; }
@@ -1444,7 +1443,7 @@ namespace Microsoft.OpenApi.Models.References
14441443 }
14451444 public class OpenApiTagReference : Microsoft.OpenApi.Models.References.BaseOpenApiReferenceHolder<Microsoft.OpenApi.Models.OpenApiTag, Microsoft.OpenApi.Models.Interfaces.IOpenApiTag>, Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiReadOnlyExtensible, Microsoft.OpenApi.Interfaces.IOpenApiSerializable, Microsoft.OpenApi.Interfaces.IShallowCopyable<Microsoft.OpenApi.Models.Interfaces.IOpenApiTag>, Microsoft.OpenApi.Models.Interfaces.IOpenApiReadOnlyDescribedElement, Microsoft.OpenApi.Models.Interfaces.IOpenApiTag
14461445 {
1447- public OpenApiTagReference(string? referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument = null, string? externalResource = null) { }
1446+ public OpenApiTagReference(string referenceId, Microsoft.OpenApi.Models.OpenApiDocument? hostDocument = null, string? externalResource = null) { }
14481447 public string? Description { get; }
14491448 public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Interfaces.IOpenApiExtension>? Extensions { get; }
14501449 public Microsoft.OpenApi.Models.OpenApiExternalDocs? ExternalDocs { get; }
@@ -1468,11 +1467,11 @@ namespace Microsoft.OpenApi.Reader
14681467 {
14691468 public OpenApiJsonReader() { }
14701469 public Microsoft.OpenApi.Reader.ReadResult Read(System.IO.MemoryStream input, Microsoft.OpenApi.Reader.OpenApiReaderSettings settings) { }
1471- public Microsoft.OpenApi.Reader.ReadResult Read(System.Text.Json.Nodes.JsonNode? jsonNode, Microsoft.OpenApi.Reader.OpenApiReaderSettings settings) { }
1470+ public Microsoft.OpenApi.Reader.ReadResult Read(System.Text.Json.Nodes.JsonNode jsonNode, Microsoft.OpenApi.Reader.OpenApiReaderSettings settings) { }
14721471 public System.Threading.Tasks.Task<Microsoft.OpenApi.Reader.ReadResult> ReadAsync(System.IO.Stream input, Microsoft.OpenApi.Reader.OpenApiReaderSettings settings, System.Threading.CancellationToken cancellationToken = default) { }
14731472 public T? ReadFragment<T>(System.IO.MemoryStream input, Microsoft.OpenApi.OpenApiSpecVersion version, Microsoft.OpenApi.Models.OpenApiDocument openApiDocument, out Microsoft.OpenApi.Reader.OpenApiDiagnostic diagnostic, Microsoft.OpenApi.Reader.OpenApiReaderSettings? settings = null)
14741473 where T : Microsoft.OpenApi.Interfaces.IOpenApiElement { }
1475- public T ReadFragment<T>(System.Text.Json.Nodes.JsonNode? input, Microsoft.OpenApi.OpenApiSpecVersion version, Microsoft.OpenApi.Models.OpenApiDocument openApiDocument, out Microsoft.OpenApi.Reader.OpenApiDiagnostic diagnostic, Microsoft.OpenApi.Reader.OpenApiReaderSettings? settings = null)
1474+ public T? ReadFragment<T>(System.Text.Json.Nodes.JsonNode input, Microsoft.OpenApi.OpenApiSpecVersion version, Microsoft.OpenApi.Models.OpenApiDocument openApiDocument, out Microsoft.OpenApi.Reader.OpenApiDiagnostic diagnostic, Microsoft.OpenApi.Reader.OpenApiReaderSettings? settings = null)
14761475 where T : Microsoft.OpenApi.Interfaces.IOpenApiElement { }
14771476 }
14781477 public static class OpenApiModelFactory
@@ -1525,7 +1524,7 @@ namespace Microsoft.OpenApi.Reader
15251524 public T? GetFromTempStorage<T>(string key, object? scope = null) { }
15261525 public string GetLocation() { }
15271526 public Microsoft.OpenApi.Models.OpenApiDocument Parse(System.Text.Json.Nodes.JsonNode jsonNode) { }
1528- public T? ParseFragment<T>(System.Text.Json.Nodes.JsonNode? jsonNode, Microsoft.OpenApi.OpenApiSpecVersion version, Microsoft.OpenApi.Models.OpenApiDocument openApiDocument)
1527+ public T? ParseFragment<T>(System.Text.Json.Nodes.JsonNode jsonNode, Microsoft.OpenApi.OpenApiSpecVersion version, Microsoft.OpenApi.Models.OpenApiDocument openApiDocument)
15291528 where T : Microsoft.OpenApi.Interfaces.IOpenApiElement { }
15301529 public void PopLoop(string loopid) { }
15311530 public bool PushLoop(string loopId, string key) { }
0 commit comments