Closed mahajanankur closed 3 years ago
I'm not sure, but security property must be an array.
Try to use:
const option = { openapi: '3.0.0', explorer: false, (...) security: [{ bearerAuth: [] }] };
@gresas really appreciate your help. It worked when I changed the security property to an array.
I am exploring the security components in the swagger JSON, I am able to see the authorize button and the pop is also loading but when I add a token and authorize it. The APIs are not able to execute and they are stuck in an infinite loop. Please find below the JSON and my configurations.
Browser console logs.
Swagger UI screenshot.