Skip to content

Commit ee6984c

Browse files
slnkykrnSelin Koykiran
andauthored
2.x: Fix deprecated NuGet versioning issue and removal of IFormFile attribute (#6631)
* fix: versioning nuget package changed from deprecated one to asp versioning for elsa server api * fix: iformfile attributes removed from workflowdefinitions endpoint --------- Co-authored-by: Selin Koykiran <selin.koykiran@siemens.com>
1 parent b25ffd4 commit ee6984c

File tree

58 files changed

+75
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+75
-21
lines changed

src/activities/webhooks/Elsa.Webhooks.Api/Endpoints/Delete.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Persistence.Specifications;
45
using Elsa.Webhooks.Models;
56
using Elsa.Webhooks.Persistence;

src/activities/webhooks/Elsa.Webhooks.Api/Endpoints/Get.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Net.Mime;
22
using System.Threading;
33
using System.Threading.Tasks;
4+
using Asp.Versioning;
45
using Elsa.Activities.Webhooks.Swagger.Examples;
56
using Elsa.Persistence.Specifications;
67
using Elsa.Server.Api.Services;

src/activities/webhooks/Elsa.Webhooks.Api/Endpoints/List.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Net.Mime;
33
using System.Threading;
44
using System.Threading.Tasks;
5+
using Asp.Versioning;
56
using Elsa.Activities.Webhooks.Swagger.Examples;
67
using Elsa.Persistence.Specifications;
78
using Elsa.Server.Api.Models;

src/activities/webhooks/Elsa.Webhooks.Api/Endpoints/Post.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Activities.Webhooks.Swagger.Examples;
45
using Elsa.Persistence.Specifications;
56
using Elsa.Services;

src/activities/webhooks/Elsa.Webhooks.Api/Endpoints/Put.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Activities.Webhooks.Swagger.Examples;
45
using Elsa.Persistence.Specifications;
56
using Elsa.Webhooks.Api.Models;

src/modules/workflowsettings/Elsa.WorkflowSettings.Api/Endpoints/Delete.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.WorkflowSettings.Extensions;
45
using Elsa.WorkflowSettings.Persistence;
56
using Microsoft.AspNetCore.Http;

src/modules/workflowsettings/Elsa.WorkflowSettings.Api/Endpoints/List.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Net.Mime;
33
using System.Threading;
44
using System.Threading.Tasks;
5+
using Asp.Versioning;
56
using Elsa.Persistence.Specifications;
67
using Elsa.Server.Api.Models;
78
using Elsa.Server.Api.Services;

src/modules/workflowsettings/Elsa.WorkflowSettings.Api/Endpoints/Post.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Services;
45
using Elsa.WorkflowSettings.Api.Models;
56
using Elsa.WorkflowSettings.Api.Swagger.Examples;

src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Endpoints/Execute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Server.Api.ActionFilters;
45
using Elsa.Services;
56
using Elsa.WorkflowTesting.Api.Models;

src/modules/workflowtesting/Elsa.WorkflowTesting.Api/Endpoints/RestartFromActivity.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3+
using Asp.Versioning;
34
using Elsa.Server.Api.ActionFilters;
45
using Elsa.Services;
56
using Elsa.WorkflowTesting.Api.Models;

0 commit comments

Comments
 (0)