fix(http-server-csharp): Emit correct ASP.NET Core result methods for non-200/204 status codes#9895
fix(http-server-csharp): Emit correct ASP.NET Core result methods for non-200/204 status codes#9895
Conversation
…non-200/204 status codes Co-authored-by: markcowl <1054056+markcowl@users.noreply.github.com>
commit: |
|
@copilot Pull the latest from the main branch and fix formatting of the files in the PR (pnpm format) |
Co-authored-by: markcowl <1054056+markcowl@users.noreply.github.com>
Done in bc9e7dc — ran Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
All changed packages have been documented.
Show changes
|
|
You can try these changes here
|
getControllerReturnStatementhelper function toutils.tsthat maps HTTP status codes to appropriate ASP.NET Core result methodsinterfaceOperationDeclarationinservice.tsto use the new helper instead of hardcodedOk/NoContentoperationDeclarationinservice.tsto use the new helper instead of hardcodedOk/NoContentservice.tspnpm formatOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.