cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger not working on V2205

djboyd4715
Participant
0 Kudos

I am trying to access swagger-ui.html and I get the following

<errorList>

<errors>

<message>Base site swagger-ui.html doesn't exist</message>

<type>InvalidResourceError</type>

</errors>

</errorList>

I am accessing it https://domain/ourwebserviceextension/v2/swagger.ui-html

We did an upgrade from 6.4 CCV1 to CCV2. Not sure if it ever worked.

I have been trying to search for any documentation about how to properly configure this so that we can generate this information. But nothing is coming to ligtht.

Any direction as to what I should be checking for here? This extension was created back in 6.4. The endpoints work.


miroslaw_szot
Employee
Employee
0 Kudos

Hi,

We had similar issue with commercewebservices.

Please check if you have these properties defined:

session.default.baseSiteId=yoursite

session.default.baseStoreId=yoursite

yoursite should exist

djboyd4715
Participant
0 Kudos

Do these properties go into the ourwebserviceextension project.properties?

miroslaw_szot
Employee
Employee
0 Kudos

It can go anywhere - even local.properties

Accepted Solutions (0)

Answers (1)

Answers (1)

stefaniaZ
Participant
0 Kudos

Hi,

I have same problem and I resolve with anonymous windows.

Stefania