Skip to content

Commit

Permalink
fix(scopes): Fix counting the routes
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jan 17, 2024
1 parent 4d20003 commit ed40c15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-spec
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,6 @@ foreach ($scopePaths as $scope => $paths) {
}

file_put_contents($scopeOut, json_encode($openapiScope, Helpers::jsonFlags()));
}

Logger::info("app", "Generated ". count($routes). " routes!");
Logger::info('app', 'Generated scope ' . $scope . ' with ' . count($openapiScope['paths']) . ' routes!');
}

0 comments on commit ed40c15

Please sign in to comment.