Monday, 17 July 2017

Azure API: A route named 'swagger_docs' is already in the route collection. Route names must be unique

While creating some PoC APIs, I encountered this little gem.

Fortunately, a simple fix is available: In the 'Settings' tab of the 'Publish' dialog, click 'Remove additional files at destination' (in the File Publish Options expander).

You can then republish the API and the issue should be resolved.

No comments:

Post a comment