You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
How to use Swagger and return 404 for unknown API urls #1119
Activity
SteveSandersonMS commentedon Jul 17, 2017
Whatever middleware you're using for Swagger, put it before your call to SpaFallbackRoute, so it gets first priority on handling the request.
You can use a technique similar to this: #973 (comment)