Swagger API not showing custom module

Hi community,

I’m having an issue with the Swagger API documentation in Dolibarr 20.0.2. I have a custom module that was created using the module builder, but when I access the Swagger interface, I can only see the standard endpoints (invoices, products, proposals, etc.). My custom module doesn’t appear in the list.

What I’ve already tried:

  • Deleting the module
  • Disabling and re-enabling the module
  • The module’s API was properly created with the module builder

Has anyone faced this issue or has any suggestions on how to make my module appear in the Swagger documentation?

Thanks in advance for your help.

Best regards

Hello, I have the same problem, does anyone have a solution? Thank you.

If you enable the debug logging of Dolibarr, what shows up in the dolibarr.log file in the documents/ folder during the load of the API explorer?