-
-
Notifications
You must be signed in to change notification settings - Fork 28
Update NSwag support to align with Refitter and Kiota #1408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
|
@copilot you seemed to have hit a rate limit. continue where you left |
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Continuing the work from where I left off. I've completed the NSwag CLI migration in commit 595d3ae. Key changes:
Build succeeds and CLI generates code correctly via 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:
|
|
@copilot the VSIX and Unit Test builds are failing |
…orTests and DependencyInstallerTests Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Fixed in commit c93f1a1. The issues were:
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:
|
|
@copilot there are still 8 failing tests in ApiClientCodeGen.Core.IntegrationTests |
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Fixed in commit b9b83fa. The integration test fixtures ( |
|




DependencyInstaller.InstallNSwag()to usedotnet tool install --global NSwag.ConsoleCoreinstead of npmNSwagCSharpCodeGeneratorto invoke the NSwag CLI command instead of libraryCSharpClassStyleenum in Core to avoid library dependency in interfaceNSwagCodeGeneratorFactoryto use the new generator patternCodeGeneratorFactoryto pass required dependenciesCSharpClassStyleenumNSwagCSharpCodeGeneratorTests.csto use the new constructor signatureDependencyInstallerTests.InstallNSwagtest to verify dotnet tool installation instead of npmProcessLauncherandDependencyInstallerimplementations instead of mocksOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.