Skip to content

Commit

Permalink
Update src/Services/SwaggerService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTray committed Apr 23, 2024
1 parent afab920 commit 0fee66a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Services/SwaggerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ protected function generatePathDescription(string $key): string
}

$exploded = explode('|', $expression);

foreach ($exploded as $value) {
if (!preg_match('/^[a-zA-Z0-9\.]+$/', $value)) {
return "regexp: {$expression}";
Expand Down

0 comments on commit 0fee66a

Please sign in to comment.