Skip to content

Commit c4bdf79

Browse files
authored
Merge pull request #5 from ensi-platform/task-85715
#85715
2 parents 2f26e9d + 74ddba2 commit c4bdf79

File tree

6 files changed

+529
-3
lines changed

6 files changed

+529
-3
lines changed

.huskyrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hooks": {
3-
"post-checkout": ".git_hooks/post-checkout/install-dependecies.sh",
4-
"post-merge": ".git_hooks/post-merge/install-dependecies.sh",
3+
"post-checkout": ".git_hooks/post-checkout/install-dependencies.sh",
4+
"post-merge": ".git_hooks/post-merge/install-dependencies.sh",
55
"pre-commit": ".git_hooks/pre-commit/lint-php.sh && .git_hooks/pre-commit/php-cs-fixer.sh",
66
"pre-push": ".git_hooks/pre-push/composer-validate.sh && .git_hooks/pre-push/var-dump-checker.sh && composer test"
77
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The following [extension properties](https://github.com/OAI/OpenAPI-Specificatio
4646
x-lg-handler: '\App\Http\Controllers\CustomersController@create' // Optional. Path is ignored if this field is empty. You can use :: instead of @ if you want
4747
x-lg-route-name: 'createCustomer' // Optional. Translates to `->name('createCustomer')`
4848
x-lg-middleware: '\App\Http\Middleware\Authenticate::class,web' // Optional. Translates to `->middleware([\App\Http\Middleware\Authenticate::class, 'web'])`
49+
x-lg-without-middleware: '\App\Http\Middleware\Authenticate::class,web' // Optional. Translates to `->withoutMiddleware([\App\Http\Middleware\Authenticate::class, 'web'])`
4950
```
5051

5152
`route.php` file IS overriden with each generation.

0 commit comments

Comments
 (0)