cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Expose a service in Swagger UI

hsha1102
10-Marble

Expose a service in Swagger UI

Hello,

 

I am building a utility which will give me the list of child part numbers as an output for a given part number and I want to expose this utility using Rest API so that the users can execute this utility themselves. 

 

I have followed the below steps to get the utility in Swagger UI but I am not able to see the added entry.

i) Added the below entry in rest.properties.xconf

   <Property name="ext.webservices.rest.test.resources" multivalued="," default="ext.webservices.rest.test.TestUtility"/>

ii) Written a java file. PFA.

 

Please let me know if there is any other step I need to follow to achieve the expected result. 

 

Thanks in advance.

 

Regards,

Hari R

0 REPLIES 0
Top Tags