kotamat/laravel-apispec-generator

RestAPI spec generator with Laravel test

0.0.1 2018-01-03 12:35 UTC

README

Rest API Spec generator with Laravel test

This Package overrides getJson(), putJson(), postJson(), deleteJson().

When you use those function, RestAPI specs are going to be generated.

Usage

Just use as base class for API-based test classes.

+use ApiSpec\ApiSpecTestCase;

class SomeTestCase extends ApiSpecTestCase
{

Output

The output format is recognized on several IDE.

ex) PHPStorm, IntelliJ IDEA...(2017.3 EAP https://blog.jetbrains.com/phpstorm/2017/09/editor-based-rest-client/