swagger-express icon indicating copy to clipboard operation
swagger-express copied to clipboard

Example does not have api-docs.json

Open psinghsp opened this issue 9 years ago • 4 comments

Looking at the example, I do not see api-docs.json. I thought that this piece of software produces api-docs.json based on yml or jsdocs. Is there some magic involved here which I do not understand? Can someone please clarify how the example works without having api-docs.json?

psinghsp avatar Mar 25 '15 06:03 psinghsp

@psinghsp api-docs.json is auto generated

fliptoo avatar Mar 25 '15 08:03 fliptoo

For some reason, I do not see it being generated. Do I need to run something manually first to generate it or it gets generated automatically when I start node process?

psinghsp avatar Mar 25 '15 18:03 psinghsp

api-docs.json is not a physical file, it is generated automatically when you start node process.

fliptoo avatar Mar 26 '15 03:03 fliptoo

I also have the same issue, in the example is generated but when i move in my folder is not generated anymore. Any hint on where should we look and debug? thanks

deckool avatar Mar 03 '16 12:03 deckool