Skip to content

Commit

Permalink
Add OpenApi folder to scan
Browse files Browse the repository at this point in the history
  • Loading branch information
lopes-vincent committed Feb 20, 2024
1 parent d3fedc4 commit 2713da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.2.15</version>
<version>2.2.16</version>
<authors>
<author>
<name>Vincent Lopes-Vicente</name>
Expand Down
1 change: 1 addition & 0 deletions Controller/OpenApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function getDocumentation(Request $request)

$annotations = Generator::scan(Util::finder([
THELIA_MODULE_DIR.'/*/Model/Api',
THELIA_MODULE_DIR.'/*/Model/OpenApi',
THELIA_MODULE_DIR.'/*/EventListener',
THELIA_MODULE_DIR.'/*/ApiExtend',
THELIA_MODULE_DIR.'/*/Controller',
Expand Down

0 comments on commit 2713da2

Please sign in to comment.