You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to generate C# client classes from an OpenAPI definition. The classes should be generated manually/on purpose using a script.
It's no option to add a pre/post build event with the msbuild package, as the definition is hosted online and developers need the possibility to work offline.
Currently the online way to achieve this would be to download the release manually from GitHub including getting all requirements.
Describe the solution you'd like
Provide a Docker image at a public registry (e.g. hub.docker.com) which executes the NSwag CLI.
Describe alternatives you've considered
Install msbuild package and try to run the dll from the .nuget folder. Is a little bit hacky and requires the dependencies (e.g. dotnet) like this
Is your feature request related to a problem? Please describe.
I need to generate C# client classes from an OpenAPI definition. The classes should be generated manually/on purpose using a script.
It's no option to add a pre/post build event with the msbuild package, as the definition is hosted online and developers need the possibility to work offline.
Currently the online way to achieve this would be to download the release manually from GitHub including getting all requirements.
Describe the solution you'd like
Provide a Docker image at a public registry (e.g. hub.docker.com) which executes the NSwag CLI.
Describe alternatives you've considered
Install msbuild package and try to run the dll from the .nuget folder. Is a little bit hacky and requires the dependencies (e.g. dotnet) like this
dotnet ~/.nuget/packages/NSwag.MsBuild/... openapi2csharpclient ...
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: