cancel
Showing results for 
Search instead for 
Did you mean: 

swagger migration to 2211

salvatoreferrigno
Discoverer
0 Kudos
1,262

Hi all,

we are migrating our sap commerce cloud to 2211 version.

We usually generate .yaml swagger files using ant wsStaticDoc from platform.

I followed these guides:

https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bbcd2978537e4ae298479557c0b8fdbd/6ea963ccf...

and

https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/bbcd2978537e4ae298479557c0b8fdbd/277f14532...

but every time i try to run ant wsStaticDoc i got this error:

wsStaticDoc:<br>     [echo] adaptivesearchwebservices -> http://localhost:9001/adaptivesearchwebservices/api-docs<br>;      [get] Getting: http://localhost:9001/adaptivesearchwebservices/api-docs<br>;      [get] To: /home/user/work/projectFolder/project/core-customize/hybris/temp/hybris/swagger/adaptivesearchwebservices.json<br>      [get] Error opening connection java.io.FileNotFoundException: http://localhost:9001/adaptivesearchwebservices/api-docs<br>;      [get] Error opening connection java.io.FileNotFoundException: http://localhost:9001/adaptivesearchwebservices/api-docs<br>;      [get] Error opening connection java.io.FileNotFoundException: http://localhost:9001/adaptivesearchwebservices/api-docs<br>;      [get] Can't get http://localhost:9001/adaptivesearchwebservices/api-docs to /home/user/work/projectFolder/project/core-customize/hybris/temp/hybris/swagger/adaptivesearchwebservices.json<br><br>BUILD FAILED<br>/home/user/work/projectFolder/project/core-customize/hybris/bin/modules/web-services-commons/webservicescommons/buildcallbacks.xml:28: The following error occurred while executing this line:<br>/home/user/work/projectFolder/project/core-customize/hybris/bin/modules/web-services-commons/webservicescommons/buildcallbacks.xml:37: The following error occurred while executing this line:<br>/home/user/work/projectFolder/project/core-customize/hybris/bin/modules/web-services-commons/webservicescommons/buildcallbacks.xml:67: Can't get http://localhost:9001/adaptivesearchwebservices/api-docs to /home/user/work/projectFolder/project/core-customize/hybris/temp/hybris/swagger/adaptivesearchwebservices.json

does anyone already experienced this kind of issue? how to solve it?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

salvatoreferrigno
Discoverer
0 Kudos

did you added the

swaggerintegration

extension to your localextension.xml file?