/laravel-dredd-openapi-v3

Laravel Dredd OpenApi v3 Example

Primary LanguagePHP

Laravel Dredd OpenAPI v3 Documentation Verification

Install Dependencies

  • composer install
  • npm install

Verify the docs

  • Migrate the db (SQLITE): php artisan migrate
  • Serve the test site: php artisan serve
  • Verify and build the docs using Dredd: ./bin/docs-test.sh

Docs

Docs built using Redoc

  • npm install --production=false
  • ./node_modules/.bin/redoc-cli serve documentation/v1/swagger_v2.json

View docs at http://127.0.0.1:8080