Solution:
The problem can be caused by a number of reasons which include the following:
- Swagger configuration errors
- Classes with the same name but in different namespaces
- Public methods without the rest attribute (Get, Post, etc.)
However, the easiest way to check original source of the error is to trace the Network messages of the Developer tools of your browser.
- Right-click on the page => Select Inspect
- Select the Network tab
- Select All (all output assessets will be displayed.
- Select the message that shows the error - it will display more tabs
- Select the Messages tab
No comments:
Post a Comment