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

Add support for union types in raml docs for api types #2070

Closed timonrey closed 2 months ago

timonrey commented 2 months ago

Description of changes This PR refactores the pre processing of resource parameters and api props. It also adds support for union types for api types.

Link original ticket closes #1483

Screenshot of changes (if applicable) You can find an example here: https://docskit-tt-refactor-type-rendering-for-types-and-endpoints.commercetools.vercel.app/api-docs-smoke-test/types/general#unionreferencetesttype

DoD guidelines

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: d8099ae3019b5cffc28a24520450832ece44f091

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

This PR includes changesets to release 3 packages | Name | Type | | ------------------------------------------- | ----- | | @commercetools-docs/gatsby-transformer-raml | Patch | | @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: