Hi! I am really interested in DapperDox so that I can host my API documentation in conjunction with help documentation in Markdown format. However, I cannot load a JSON specification file; not even the petstore example that DapperDox provides.
The following steps outline the process that I followed.
- Used Swashbuckle (with some configurations) to build a valid Swagger JSON file.
- Installed Go and configured the necessary PATH variables.
- Used Go to obtain dependencies and build DapperDox from source code.
- Pointed DapperDox to my swagger.json file.
./dapperdox -spec-dir=C:\APIcodedir\output -spec-filename=swagger.json
The command returns the following error:
[XVlBzgbaiCMRAjWwhTHc] [info] GET /swagger.json (404, 0s)
Load specification error: could not access document at "http://localhost:3123/swagger" [404 Not Found]
I have tried specifying the -spec-dir only (without -spec-filename), in addition to using -spec-filename (without -spec-dir). All options result in the same 404 error. I tried specifying the petstore example that the DapperDox source includes, but same the error returns.
One of our developers tried this approach on his machine, which achieved the same results. Am I missing something? Any help is greatly appreciated!