I have a node swagger project using:
"swagger-node-runner": "0.7.3",
I'm using webstorm and I'm trying to attached a debugger to my source code.
Controller code, but I cannot. Can someone please help ?
I'm tried 30 different things and I can't get…
I'm using swagger-node for REST APIs and I've found an absurd issue here.
Here's my one of GET requests:
GET: /students/{id}/{name}
(id is number)
And now I wrote another request:
GET: /students/routeInfo/{id}
But the 2nd request me following…
lets say there is customer object, i need to add new element address to this json object customer. how can I achieve this?
Both of these are not altering the customer JSON object
customer['address'] = addressObj
customer.address = addressObj
and…
I am having index.html, css and js files in letschat folder. After running the node express server it is not loading the css and js files. I am giving the server.js code. please let me know how to resolve the issue.
var express =…
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…
There are two version of Node.js 5.x and 0.10.x or 0.12.x . Linked from official site https://github.com/nodesource/distributions
It is very confusion what is the difference. I was trying to install swagger-node on ubuntu-server, if I use 5.x it…
The node-restify library allows paths like /foo/:id. Can swagger handle such paths? i.e. something like?
var getFoo = {
'spec': {
'description': 'foo library',
'path': '/foo/:id',
'summary': 'return foo by id',
…
I am using the Swagger Node project with Express 4 to build my apis. https://github.com/swagger-api/swagger-node
I can make my "swagger api" work, however I could not get expose my apis as JSON to be read by the…
Hi I am using swagger UI for documenting APIs in my node.js application. I successfully configured and it is working fine.
But I right now I am facing one serious problem.
here is my sample swagger code from my controller
exports.people = {
…
The documentation for Swagger (https://github.com/swagger-api/swagger-node) only shows how to create a new app. How do I integrate Swagger into an existing API app?