Questions tagged [swagger-tools]

18 questions
0
votes
1 answer

swagger-tools on node: How to load swaggerUi?

When I hit http://localhost:3001/api-docs loads the swagger json docs. { swagger: "2.0", info: { version: "1.0.0", title: "Auth-gateway services", contact: { name: "swagger docs", url: "https://www.google.com" } }, host: "127.0.0.1:3001", basePath:…
vora786
  • 31
  • 1
0
votes
1 answer

How to access header keys from inside swagger-tools controllers?

When a parameter is defined to be 'in' header, then swagger-tools makes it available to controllers via 'args' variable, but other header's keys will not be included. My question is: how to read header keys and values that are not specifically…
-2
votes
1 answer

Is swagger tools use only json format

I'm using swagger for my API documentation of nodejs API. But as a beginner I am not aware about swagger ui. I google it and find a solution for that which is swagger tool but in the swagger tool documentation they use json format but my question is…
1
2