Skip to content

Commit

Permalink
Merge pull request #95 from RonasIT/dpankratov/update-swagger
Browse files Browse the repository at this point in the history
Dpankratov/update swagger
  • Loading branch information
astorozhevsky authored Oct 15, 2024
2 parents 467ebf0 + 83205cd commit aade678
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 29 deletions.
2 changes: 1 addition & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use Illuminate\Session\TokenMismatchException;
use Illuminate\Validation\ValidationException;
use Illuminate\View\Middleware\ShareErrorsFromSession;
use RonasIT\Support\AutoDoc\Http\Middleware\AutoDocMiddleware;
use RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware;
use Symfony\Component\HttpKernel\Exception\HttpException;

return Application::configure(basePath: dirname(__DIR__))
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php-open-source-saver/jwt-auth": "^2.7",
"psr/simple-cache": "^3.0",
"ronasit/laravel-helpers": "^3.0.0-beta",
"ronasit/laravel-swagger": "^3.0.0-beta",
"ronasit/laravel-swagger": "^3.0.1-beta",
"spatie/laravel-google-cloud-storage": "^2.3",
"spatie/laravel-ignition": "^2.8",
"symfony/http-client": "^7.1.3",
Expand All @@ -36,7 +36,7 @@
"mockery/mockery": "^1.6",
"php-coveralls/php-coveralls": "^2.7",
"phpunit/phpunit": "^10.5",
"ronasit/laravel-entity-generator": "^3.0.0-beta",
"ronasit/laravel-entity-generator": "^3.1",
"tightenco/tlint": "^9.3"
},
"autoload": {
Expand Down
33 changes: 16 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions config/auto-doc.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use RonasIT\Support\AutoDoc\Drivers\LocalDriver;
use RonasIT\Support\AutoDoc\Drivers\RemoteDriver;
use RonasIT\Support\AutoDoc\Drivers\StorageDriver;
use RonasIT\AutoDoc\Drivers\LocalDriver;
use RonasIT\AutoDoc\Drivers\RemoteDriver;
use RonasIT\AutoDoc\Drivers\StorageDriver;

return [

Expand Down Expand Up @@ -110,7 +110,7 @@
|
| The name of driver, which will collect and save documentation
| Feel free to use your own driver class which should be inherited from
| `RonasIT\Support\AutoDoc\Interfaces\SwaggerDriverInterface` interface,
| `RonasIT\AutoDoc\Contracts\SwaggerDriverContract` interface,
| or one of our drivers from the `drivers` config:
*/
'driver' => env('SWAGGER_DRIVER', 'local'),
Expand Down Expand Up @@ -184,5 +184,5 @@
'development',
],

'config_version' => '2.7',
'config_version' => '2.8',
];
2 changes: 1 addition & 1 deletion config/entity-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
'nova_test' => 'entity-generator::nova_test',
'empty_factory' => 'entity-generator::empty_factory',
],
];
];
3 changes: 1 addition & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<extensions>
<bootstrap class="RonasIT\Support\AutoDoc\Tests\PhpUnitExtensions\SwaggerExtension">
</bootstrap>
<bootstrap class="RonasIT\AutoDoc\Support\PHPUnit\Extensions\SwaggerExtension"/>
</extensions>
<testsuites>
<testsuite name="Tests">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is automatically collected documentation
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Auth;
use Illuminate\Testing\TestResponse;
use RonasIT\Support\AutoDoc\Tests\AutoDocTestCaseTrait;
use RonasIT\AutoDoc\Traits\AutoDocTestCaseTrait;
use RonasIT\Support\Tests\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
Expand Down

0 comments on commit aade678

Please sign in to comment.