Page 1 of 1

Import REST in Swagger

Posted: Mon Jul 15, 2024 8:05 pm
by MARCOREMMEDATA
Good morning

When defining REST services, it is possible to choose the option "publish in Swagger". However, I cannot find a guide on how to export the service definition and how to import it into swagger.

Can anyone help me?

Re: Import REST in Swagger

Posted: Mon Jul 15, 2024 8:22 pm
by Dino
Hi

You can find the path created with the json definition that can be used/ imported in swagger in the webmodules.conf file that is populated as part of the compilation of the server module.

Code: Select all

/{xPartition}/DEPTABSM/xtras/v3/apiDoc

or

Code: Select all

/{xPartition}/DEPTABSM/xtras/v2/apiDoc
Details about where to find webmodule.conf in these other post:

viewtopic.php?t=2024#p5280