microsoft / app-innovation-workshop

Hands-on workshop designed to help you learn Azure, Mobile & AI
MIT License
200 stars 86 forks source link

Auto-generated Swagger.json from the Backend does not work with API Management #6

Closed robinmanuelthiel closed 5 years ago

robinmanuelthiel commented 6 years ago

The ASP.NET Core Backend is generating a Swagger.json file using Swashbuckle.AspNetCore.

screen shot 2018-09-24 at 12 45 25

When importing this Swagger File into Azure API Management, it is throwing errors! As a workaround, we currently have provided fixed JSON files as Assets, but it would be nice, if participants could just import that Swagger.json URL.

JimPaine commented 5 years ago

@robinmanuelthiel if you are happy with the approach in #9 I will clean up the documentation and remove the static files

robinmanuelthiel commented 5 years ago

Sounds good. I left some requests for clarification in the code review! Thanks for your contribution!