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.

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

Error deploying Nintex workflow: An item with the same key has already been added