From c08c3b6dae0f39d27043d2c61ca2ae9038c23927 Mon Sep 17 00:00:00 2001
From: Weihan Li <7604648+WeihanLi@users.noreply.github.com>
Date: Wed, 23 Oct 2024 07:47:53 +0800
Subject: [PATCH 1/4] use nameof for CallerArgumentExpression
---
src/Microsoft.OpenApi/Utils.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Microsoft.OpenApi/Utils.cs b/src/Microsoft.OpenApi/Utils.cs
index 10d5595f8..b025af8e7 100644
--- a/src/Microsoft.OpenApi/Utils.cs
+++ b/src/Microsoft.OpenApi/Utils.cs
@@ -20,7 +20,7 @@ internal static class Utils
/// The input value.
internal static T CheckArgumentNull(
T value,
- [CallerArgumentExpression("value")] string parameterName = "")
+ [CallerArgumentExpression(nameof(value))] string parameterName = "")
{
return value ?? throw new ArgumentNullException(parameterName, $"Value cannot be null: {parameterName}");
}
From d71e3716942587f6ff43cce6e8d121af18cb93c2 Mon Sep 17 00:00:00 2001
From: Vincent Biret
Date: Thu, 24 Oct 2024 12:46:31 -0400
Subject: [PATCH 2/4] docs: fixes doc comments to align with changes made in
#1883
Signed-off-by: Vincent Biret
---
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs b/src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs
index 03f42a3a0..6b7801541 100644
--- a/src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs
+++ b/src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs
@@ -57,8 +57,8 @@ public static class OpenApiTypeMapper
/// Other types including nullables and URL are also supported.
/// Common Name type format Comments
/// =========== ======= ====== =========================================
- /// integer integer int32 signed 32 bits
- /// long integer int64 signed 64 bits
+ /// integer number int32 signed 32 bits
+ /// long number int64 signed 64 bits
/// float number float
/// double number double
/// string string [empty]
From b40ab66b811af1a803ba312537e77f8d81de65eb Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 25 Oct 2024 21:29:47 +0000
Subject: [PATCH 3/4] chore(deps): bump Verify.Xunit from 27.0.1 to 27.1.0
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 27.0.1 to 27.1.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/27.0.1...27.1.0)
---
updated-dependencies:
- dependency-name: Verify.Xunit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
test/Microsoft.OpenApi.Tests/Microsoft.OpenApi.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/Microsoft.OpenApi.Tests/Microsoft.OpenApi.Tests.csproj b/test/Microsoft.OpenApi.Tests/Microsoft.OpenApi.Tests.csproj
index b3938e0a2..5d6c74ad6 100644
--- a/test/Microsoft.OpenApi.Tests/Microsoft.OpenApi.Tests.csproj
+++ b/test/Microsoft.OpenApi.Tests/Microsoft.OpenApi.Tests.csproj
@@ -15,7 +15,7 @@
-
+
From d31b040c42989a29f59a987fd309eaa86e475cf4 Mon Sep 17 00:00:00 2001
From: Irvine Sunday
Date: Mon, 28 Oct 2024 16:12:43 +0300
Subject: [PATCH 4/4] Bump up hidi and yoko lib versions
---
src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj b/src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj
index 3cea6d29c..ce51fae51 100644
--- a/src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj
+++ b/src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj
@@ -9,7 +9,7 @@
enable
hidi
./../../artifacts
- 1.4.13
+ 1.4.14
OpenAPI.NET CLI tool for slicing OpenAPI documents
true
@@ -39,7 +39,7 @@
-
+