Skip to content

Commit 679cef5

Browse files
Infra-Workleaprenovate-botPrincessMadMathcptCloud
authored
chore(deps): update nuget dependencies (major) (#96)
* chore(deps): update nuget dependencies * Update swashbuckle major version and add renovate for Shasbuckle CLI --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Mathieu Gamache <mathieu.gamache@gsoft.com> Co-authored-by: Sven D <45497923+cptCloud@users.noreply.github.com>
1 parent 22a3429 commit 679cef5

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

renovate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@
6868
],
6969
"datasourceTemplate": "github-tags",
7070
"depNameTemplate": "Tufin/oasdiff"
71+
},
72+
{
73+
"description": "Custom manager for renovating Swagger CLI version listed in .cs files",
74+
"customType": "regex",
75+
"fileMatch": [
76+
"\\.cs$"
77+
],
78+
"matchStringsStrategy": "any",
79+
"matchStrings": [
80+
"private const string SwaggerVersion = \"(?<currentValue>[^\"]+)\";"
81+
],
82+
"datasourceTemplate": "github-tags",
83+
"depNameTemplate": "domaindrivendev/Swashbuckle.AspNetCore"
7184
}
7285
]
7386
}

src/WebApiDebugger/WebApiDebugger.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
12+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
1313
</ItemGroup>
1414
<PropertyGroup>
1515
<OpenApiEnabled>false</OpenApiEnabled>

src/Workleap.OpenApi.MSBuild/SwaggerManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Workleap.OpenApi.MSBuild;
55

66
internal sealed class SwaggerManager : ISwaggerManager
77
{
8-
private const string SwaggerVersion = "6.5.0";
8+
private const string SwaggerVersion = "7.2.0";
99
private const string DoNotEditComment = "# DO NOT EDIT. This is a generated file\n";
1010
private const int MaxRetryCount = 3;
1111
private readonly IProcessWrapper _processWrapper;

src/tests/WebApi.MsBuild.SystemTest.GenericTest/WebApi.MsBuild.SystemTest.GenericTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
19+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
2020
</ItemGroup>
2121
</Project>

src/tests/WebApi.MsBuild.SystemTest.OasDiffError/WebApi.MsBuild.SystemTest.OasDiffError.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
20+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
2121
</ItemGroup>
2222

2323
</Project>

src/tests/WebApi.MsBuild.SystemTest.SpectralError/WebApi.MsBuild.SystemTest.SpectralError.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
19+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
2020
</ItemGroup>
2121

2222
<ItemGroup>

0 commit comments

Comments
 (0)