@@ -802,7 +808,7 @@ func setParamType(para *swagger.Parameter, typ string, pkgpath, controllerName s paraFormat = typeFormat[1] if para.In == "body" { para.Schema = &swagger.Schema{ Type: paraType, Type: paraType, Format: paraFormat, } } 9 changes: 9 additions & 0 deletions ...
In ConfigureServices, services.AddAuthentication .AddCookie In Configure, do app.UseAuthentication Need to do this before UseMvcWithDefaultRoute Mvc is a “terminating middleware”–stuff after it won’t run Controller code Login action, with LoginViewModel Create ClaimsIdentity with a Claim Pass...
apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "ConsolePlugin" crdName: consoleplugins.console.openshift.io featureGate: ConsolePluginContentSecurityPolicy version: v1 tests: onCreate: - name: Should be able to create a ConsolePlugin ...
) sits in the middle of an impressive model railway display. People come and go, admiring his handiwork, but his expression is one of benign happiness. He's the controller in this magical kingdom and they're just day visitors.A young human (8?) studies a potato rosti stall with a scow...
Try it outbutton is now enabled inSwaggerdocumentation. Show performance toggle You can now choose to load the performance metrics ofI/O Rate ReadandI/O Rate Writecolumns or not by enabling or disabling theShow performancetoggle. For more information, seeQuick filters panelandStorage systems tabular...
[PLAT-5028] Fix swagger [PLAT-5268] [yugabyte] Fix YCQL for MCS enabled deployments [PLAT-5298] [UI] Proper Warning/Messages for restore EAR Enabled [PLAT-6487] Errors importing a single release should not cause all release imports to fail ...
[PLAT-10330] Move logic from tables controller to UniverseTableHandler and Add guard rails for ysql tables before disabling ysql [PLAT-10370] Don't eat up exceptions in SetUniverseKeys sub-task [PLAT-10371] Change DB Queue Overflow alert label [PLAT-10415] Stop building PEX for python < ...
private IActionResult GetErrorResultLogin(Microsoft.AspNetCore.Identity.SignInResult result) { string errorMsg = ""; if (!result.Succeeded) { errorMsg += "Could not logged in. Please check your user/password."; } throw new Exception(errorMsg); } I...
(--lia-nav-controller-icon-color)","hamburgerBgColor":"transparent","hamburgerBgHoverColor":"transparent","hamburgerBorder":"none","hamburgerBorderHover":"none","collapseMenuMarginLeft":"20px","collapseMenuDividerBg":"var(--lia-nav-link-color)","collapseMenuDividerOpacity":0.16,"__...
Finally, if you’re writing API endpoints in your ASP.NET Core app, you can take advantage of some improvements added in 2.1. First, you can add the [ApiController] attribute to any of your controllers that expose APIs. This adds a number of features to endpoints defined on these controll...