Skip to content

Commit

Permalink
docs(api): Improve machine-readability of openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkp committed Jul 24, 2024
1 parent b3d6ec9 commit eef8dda
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 218 deletions.
2 changes: 1 addition & 1 deletion module/User/src/Listener/AuthorizationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __invoke(MvcEvent $e): void
'status' => ApiResponseStatuses::Forbidden,
'error' => [
'type' => NotAllowedException::class,
'message' => $e->getParam('exception')->getMessage(),
'exception' => $e->getParam('exception')->getMessage(),
],
]));
$response = $e->getResponse();
Expand Down
Loading

0 comments on commit eef8dda

Please sign in to comment.