RonasIT / laravel-swagger

Laravel-Swagger is a fully automate tool which allows to generate and save swagger-based documentation after successful completing your application's feature tests.
https://ronasit.com
MIT License
150 stars 43 forks source link

Update readme #21

Closed Ferikl closed 2 years ago

Ferikl commented 4 years ago

Tried to install package to Laravel 6 and I cant find AutoDocTestCaseTrait trait. Can you update readme file with correct installation flow. Also it will be great to have working examples how to use package. Thanks for maintain !

nemozar commented 4 years ago

For AutoDocTestCaseTrait use RonasIT\Support\AutoDoc\Tests\AutoDocTestCaseTrait;.

Also error with function elseChain. My fix https://github.com/RonasIT/laravel-swagger/issues/18

<?php

namespace Tests;

use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use RonasIT\Support\AutoDoc\Tests\AutoDocTestCaseTrait;

abstract class TestCase extends BaseTestCase
{
    use CreatesApplication, AutoDocTestCaseTrait;
}
DenTray commented 2 years ago

@Ferikl readme had been updated in the last version, please use it