Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Good morning, somehow the API endpoint `/guest-cart-items` is missing in swagger, but instead some o

Options
U018XELUZS9
U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet

Good morning, somehow the API endpoint /guest-cart-items is missing in swagger, but instead some other endpoints are listed here. The endpoint works, but is just not documented in swagger. We're using version 5.13.2 of the spryker/carts-rest-api module. Do we need to configure something in our project or is there a problem in the module? Does the action maybe need a path just like the other ones in that class?

Comments

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet
    Options

    Hello Alfred. The /guest-cart-items resources were created as resources with parent, so the doc is generated with the /guest-carts/:id in the path. Both adding /guest-carts/:id and omitting it will work.