2) Running from the vagrant box where slate is running:
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ./swagger2slate.phar convert swagger.json -o source/index.md
PHP Notice: Undefined index: name in phar:///vagrant/swagger2slate.phar/swagger/Parameters.php on line 17
...
PHP Notice: Undefined index: default in phar:///vagrant/swagger2slate.phar/index.php on line 92
Segmentation fault (core dumped)
vagrant@vagrant-ubuntu-trusty-64:/vagrant$
3) Attempting to run from your source code from either environment:
% php index.php
PHP Warning: require_once(/cygdrive/c/Users/jogden/Documents/api-documentation/swagger2slate/vendor/autoload.php): failed to open stream: No such file or directory in /cygdrive/c/Users/jogden/Documents/api-documentation/swagger2slate/index.php on line 9
PHP Fatal error: require_once(): Failed opening required '/cygdrive/c/Users/jogden/Documents/api-documentation/swagger2slate/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php/php') in /cygdrive/c/Users/jogden/Documents/api-documentation/swagger2slate/index.php on line 9
I can't seem to get swagger2slate.phar to run successfully. I've tried multiple approaches:
1) Running from cygwin:
Nothing happens... no output at all.
2) Running from the vagrant box where slate is running:
3) Attempting to run from your source code from either environment: