commercetools / commercetools-docs-kit

Tools and components for developing Documentation websites 🛠
https://docs-kit.commercetools.vercel.app
MIT License
18 stars 5 forks source link

[Api docs] Display responses for all request data types #2078

Closed timonrey closed 2 months ago

timonrey commented 2 months ago

Description of changes Displays responses for all request data types. So far, we only allowed displaying the response details when the request data type is application/json or application/x-www-form-urlencoded.

Link original ticket closes #2051

Screenshot of changes (if applicable) link to the smoke test: https://docskit-tt-display-responses-on-structured-data-types.commercetools.vercel.app/api-docs-smoke-test/endpoints/endpoints-for-resource#projectkeyresourceimages

Before:

Screenshot 2024-09-11 at 22 59 15

After:

Screenshot 2024-09-11 at 22 58 48

DoD guidelines

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 8e2e432fdf42986f8fccbb7fd509ac8eae8ac3d7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------------------------ | ----- | | @commercetools-docs/gatsby-theme-api-docs | Patch | | @commercetools-website/api-docs-smoke-test | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 2 months ago

🚚 Build Process Details

Preview URLs: