{"action":"created","issue":{"url":"https://api.github.com/repos/apidoc/apidoc/issues/767","repository_url":"https://api.github.com/repos/apidoc/apidoc","labels_url":"https://api.github.com/repos/apidoc/apidoc/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/apidoc/apidoc/issues/767/comments","events_url":"https://api.github.com/repos/apidoc/apidoc/issues/767/events","html_url":"https://github.com/apidoc/apidoc/issues/767","id":386754826,"node_id":"MDU6SXNzdWUzODY3NTQ4MjY=","number":767,"title":"  The command \"apidoc -c app/Containers/Documentation/ApiDocJs/public -f public.php -i app -o public/api/documentation\" failed.                 ","user":{"login":"justcoding8","id":45559516,"node_id":"MDQ6VXNlcjQ1NTU5NTE2","avatar_url":"https://avatars3.githubusercontent.com/u/45559516?v=4","gravatar_id":"","url":"https://api.github.com/users/justcoding8","html_url":"https://github.com/justcoding8","followers_url":"https://api.github.com/users/justcoding8/followers","following_url":"https://api.github.com/users/justcoding8/following{/other_user}","gists_url":"https://api.github.com/users/justcoding8/gists{/gist_id}","starred_url":"https://api.github.com/users/justcoding8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcoding8/subscriptions","organizations_url":"https://api.github.com/users/justcoding8/orgs","repos_url":"https://api.github.com/users/justcoding8/repos","events_url":"https://api.github.com/users/justcoding8/events{/privacy}","received_events_url":"https://api.github.com/users/justcoding8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-03T10:36:38Z","updated_at":"2018-12-06T08:04:28Z","closed_at":null,"author_association":"NONE","body":"I am trying to generate API documentation by using RESTful web API Documentation Generator from github documentation,but I am getting a constant error that **the command failed**.\r\n\r\n1. I added the following to my project's .env file\r\n```\r\nWORKSPACE_INSTALL_NODE=true\r\nWORKSPACE_INSTALL_YARN=true\r\n```\r\n2. I installed npm globally by using command `npm install -g apidoc` \r\n2. Cleared all the application's cache.\r\n3. Updated the composer\r\n4. Changed documentation-container.php as follows:\r\n\r\n```\r\n //'executable' => '$(npm bin)/apidoc',\r\n'executable' => 'apidoc',\r\n```\r\nThen I run a command : `php artisan apiato:docs` , I got this,\r\n\r\n\r\n**The command \"apidoc -c app/Containers/Documentation/ApiDocJs/public -f public.php -i app -o public/api/documentation\" failed.**                 \r\n                                                                                                                                                \r\n  **Exit Code: 1(General error)**                                                                                                                   \r\n                                                                                                                                                \r\n  Working directory: /home/adminrb/ATS/get-ats/api-pms                                                                                          \r\n                                                                                                                                                \r\n  Output:                                                                                                                                       \r\n  ================                                                                                                                              \r\n  {\"File\":\"app/Containers/Client/UI/API/Routes/GetAllClientContactsByClientId.v1.public.php\",\"Block\":1,\"Element\":\"@apiVersion\",\"Source\":\"@apiV  \r\n  ersion         ..0.0\",\"Definition\":\"@apiVersion major.minor.patch\",\"Example\":\"@apiDefine 1.2.3\",\"level\":\"error\",\"message\":\"Version format no  \r\n  t valid.\"}                                                                                                                                    \r\n                                                                                                                                                \r\n                                                                                                                                                \r\n  Error Output:                                                                                                                                 \r\n  ================ "},"comment":{"url":"https://api.github.com/repos/apidoc/apidoc/issues/comments/444782835","html_url":"https://github.com/apidoc/apidoc/issues/767#issuecomment-444782835","issue_url":"https://api.github.com/repos/apidoc/apidoc/issues/767","id":444782835,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDc4MjgzNQ==","user":{"login":"justcoding8","id":45559516,"node_id":"MDQ6VXNlcjQ1NTU5NTE2","avatar_url":"https://avatars3.githubusercontent.com/u/45559516?v=4","gravatar_id":"","url":"https://api.github.com/users/justcoding8","html_url":"https://github.com/justcoding8","followers_url":"https://api.github.com/users/justcoding8/followers","following_url":"https://api.github.com/users/justcoding8/following{/other_user}","gists_url":"https://api.github.com/users/justcoding8/gists{/gist_id}","starred_url":"https://api.github.com/users/justcoding8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcoding8/subscriptions","organizations_url":"https://api.github.com/users/justcoding8/orgs","repos_url":"https://api.github.com/users/justcoding8/repos","events_url":"https://api.github.com/users/justcoding8/events{/privacy}","received_events_url":"https://api.github.com/users/justcoding8/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T08:04:28Z","updated_at":"2018-12-06T08:04:28Z","author_association":"NONE","body":"Do you mean this?\r\n\r\n```\r\n<?php\r\n\r\n/**\r\n * @apiGroup           Client\r\n * @apiName            ClientContactController\r\n *\r\n * @api                {GET} /v./clients/:clientid/clientcontacts Endpoint title here..\r\n * @apiDescription     Endpoint description here..\r\n *\r\n * @apiVersion         1.0.0\r\n * @apiPermission      none\r\n *\r\n * @apiParam           {String}  parameters here..\r\n *\r\n * @apiSuccessExample  {json}  Success-Response:\r\n * HTTP/1.1 200 OK\r\n{\r\n  // Insert the response of the request here...\r\n}\r\n */\r\n\r\n/** @var Route $router */\r\n$router->get('clients/{clientid}/contacts', [\r\n    'as' => 'api_client_client_contact_controller',\r\n    'uses'  => 'ClientContactController@getAllClientContacts',\r\n    'middleware' => [\r\n      'auth',\r\n    ],\r\n]);\r\n```"}}
{"actor":{"display_login":"justcoding8"}}