Skip to content
Advertisement

SWAGGER – Fetch error v2/apidocs undefined

My swagger was working fine with this code.

JavaScript

I wanted to add Authorize option in swagger page. So I did this config.

JavaScript

From the time I added this new configurations I am getting this error. Swagger error

I have added the v2/api-docs in my security web ignore & http disble configurations already.

JavaScript

My swagger dependencies:

JavaScript

please help me with the issue

Advertisement

Answer

My bad.

mistake in the configuration code.

Here is the wrong part of the code corrected.

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement