Import REST in Swagger

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
User avatar
MARCOREMMEDATA
Posts: 14
Joined: Mon Apr 11, 2022 4:48 pm
Location: ITALIA
Contact:

Import REST in Swagger

Post 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?
MARCO ROSSI | Software Developer Sr. - Software Production
User avatar
Dino
Posts: 472
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

Re: Import REST in Swagger

Post 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
Post Reply