-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
842 additions
and
222 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace AspNetCore.Client.Generator | ||
{ | ||
public static class Constants | ||
{ | ||
public const string Route = "Route"; | ||
public const string Authorize = "Authorize"; | ||
public const string Obsolete = "Obsolete"; | ||
public const string Http = "Http"; | ||
public const string Attribute = "Attribute"; | ||
public const string AllowAnonymous = "AllowAnonymous"; | ||
public const string ProducesResponseType = "ProducesResponseType"; | ||
|
||
public const string ClientInterfaceName = "Client"; | ||
public const string FlurlClientVariable = "ClientWrapper"; | ||
|
||
public const string HttpOverride = "IHttpOverride"; | ||
public const string HttpOverrideField = "HttpOverride"; | ||
public const string HttpOverrideGetMethod = "GetResponseAsync"; | ||
public const string HttpOverrideOnNonOverridedResponse = "OnNonOverridedResponseAsync"; | ||
|
||
public const string IActionResult = "IActionResult"; | ||
|
||
public const string ControllerRouteReserved = "controller"; | ||
public const string ActionRouteReserved = "action"; | ||
|
||
public const string CancellationTokenParameter = "cancellationToken"; | ||
|
||
public const string ResponseVariable = "response"; | ||
public const string UrlVariable = "url"; | ||
public const string AuthParameter = "auth"; | ||
} | ||
} |
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
Oops, something went wrong.