0

I would like to use apidoc to create API documents, but in the implementation of apidoc -i xcrm/ -o xcrm/apidoc/command prompts the following error:

warn: Please create an apidoc.json configuration file. info: Nothing to do.

But I created the file apidoc.json under public directory(my root directory).

{
  "name": "xcrm",
  "version": "0.1.0",
  "description": "apiDoc basic xcrm",
  "title": "xcrm API",
  "url" : "https://api.github.com/v1"
}

The apidoc website is http://apidocjs.com/

i.yuanx
  • 23
  • 1
  • 2
  • 9

1 Answers1

0

Create an apidoc.json and add name property to the object. { "name": "TestApp" }

dpak005
  • 241
  • 4
  • 10