laravel-petstore-api Set Up. $ composer install $ npm install Start API Server. $ php artisan serve Execute API. $ curl -X GET http://localhost:8000/api/pets Run tests. $ vendor/bin/phpunit Convert Open API Spec to JSON Schema. $ npm run openapi2schema