Base solution for your next web application
Open Closed

Angular2/.NET Core Project - Updating service proxy w/NSwag #2249


User avatar
0
marklindell created

Hi,

Is there a configured automated tool chain for updating the service-proxies.ts with NSwag or is this intended to be manual for the time being?

Thanks,

Mark Lindell

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    marklindell created

    Oops, I think I found the answer just after I posted.

    Client\nswag\refresh.bat

    The only manual step is to update service-proxy.module.ts

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Yes, that is the file :). We couldn't find a way to update service-proxy.module.ts automatically for now.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)