-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove ODATA * Add OpenAPI and transformers * Update api endpoint (/api) * Remove Swashbuckle * Add SCALAR (Playground) * Refactor customer retrieval order in WorkContextSetter * Refactor authentication services and middleware
- Loading branch information
1 parent
68790b9
commit 7ec3e5f
Showing
75 changed files
with
1,364 additions
and
2,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Core/Grand.SharedKernel/Attributes/ApiGroupAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Grand.SharedKernel.Attributes; | ||
|
||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)] | ||
public sealed class ApiGroupAttribute : Attribute | ||
{ | ||
public string GroupName { get; } | ||
|
||
public ApiGroupAttribute(string groupName) | ||
{ | ||
GroupName = groupName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Grand.SharedKernel.Extensions; | ||
|
||
public static class ApiConstants | ||
{ | ||
public const string ApiGroupNameV1 = "v1"; | ||
public const string ApiGroupNameV2 = "v2"; | ||
} |
31 changes: 0 additions & 31 deletions
31
src/Modules/Grand.Module.Api/ApiExplorer/ApiParameterContext.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.