on 2023 May 19 3:16 PM
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:
and
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!
Request clarification before answering.
did you added the
swaggerintegration
extension to your localextension.xml file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.