c# - How do I generate swagger meta data file from Azure API App solution? -
i want generate swagger meta data, can generate client code.
i want azure api app #1 consume other azure api app #2 .
is possible generate metadata locally hosted azure api before publishing azure ?
update : swagger.json generated after running api on machine. it's located in ...appdata\local\temp\webtoolsautorest\nameofsolution... there no need specify explicitly should generate meta data, doing it.
it shouldn't matter if trying use swagger on local api service or in cloud. swagger looks @ endpoints , generates artifacts based on sees there. detailed information check out:
https://docs.microsoft.com/en-us/azure/app-service-api/app-service-api-dotnet-get-started
Comments
Post a Comment