Skip to content
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

NSwagStudio #1048

Closed
steveoshima opened this issue Nov 14, 2023 · 1 comment
Closed

NSwagStudio #1048

steveoshima opened this issue Nov 14, 2023 · 1 comment

Comments

@steveoshima
Copy link

steveoshima commented Nov 14, 2023

NSwagStudio 13.20.0.0 Not compatible
Using latest version of the template Template::8.0.0-preview.7.2 and using the fix for the build from #1034
All builds fine. But how do we use NSwagStudio to generate web-api-client.ts?

To Reproduce
Steps to reproduce the behavior:

  1. NSwagStudio '...'
  2. Click on Runtime Net70
  3. Then go to .Net Assembly tab
  4. Enter the location of your built solutions Web dll
  5. Load Assembly

Expected behavior
Be able to see the classes to get the client outputs.

Additional context
Maybe NSwagStudio wasnt used to create the web-api-client.ts in the ClientApp/Src folder?

Can you point to how web-api-client.ts was created.
Thanks.

@jasontaylordev
Copy link
Owner

You should be able to do it now. However, you'll need to get the latest version of the template first and also the preview version of NSwag; https://github.com/RicoSuter/NSwag/releases.

The template is currently running the preview version to support .NET 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants