diff --git a/Config/module.xml b/Config/module.xml index 7e783ee..4806a21 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -19,7 +19,7 @@ en_US fr_FR - 2.2.15 + 2.2.16 Vincent Lopes-Vicente diff --git a/Controller/OpenApiController.php b/Controller/OpenApiController.php index 0454737..451817f 100644 --- a/Controller/OpenApiController.php +++ b/Controller/OpenApiController.php @@ -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',