Generate C# client via NSwag and/or NSwagStudio #197
Guy-Heylens-Elia
started this conversation in
Ideas
Replies: 1 comment
-
Would it make sense to make this a github action on deployment of each new version ? actions/swagger-ui-action |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
In order to facilitate the generation of a C# client it would be a good idea to expose the json or yaml file of the api spec https://app.swaggerhub.com/apis-docs/Project-Origin/WalletSystem/0.8.0#/
When using NSwagStudio you can point to the URL containing the json file, once you have that you can export/save your NSwagStudio settings as a .nswag file and store that in your repository.
With that .nswag file you can even further specify the conversions from one type to another.
Beta Was this translation helpful? Give feedback.
All reactions