Forum Discussion

vk22's avatar
vk22
New Contributor
2 years ago
Solved

How to show Authorize button on OAS 3 swagger in javascript?

I am using this config for swagger: { routePrefix: "/documentation", exposeRoute: true, openapi: { openapi: "3.0.3", }, swagger: { info: { title: "Sample API",...
  • vk22's avatar
    2 years ago

    I was able to figure out the issue. components and security array had to be inside openapi object. I am using the above config with fastify-swagger.