I am looking to use apiDoc to document a WebAPI interface. The apiDoc documentation mentions the use of a package.json
file to specify things like the project name and latest API version. Unfortunately, I can't get this to work. Where should this file be placed? I have tried placing it in the folder with the documented code, in the folder with the generated documentation code, and in the folder from which apiDoc is called, but in all cases I receive the message:
apidoc: No package.json found!
Is there a trick I haven't found here?