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

Response code is not rendered for image upload endpoint #2051

Closed stmeissner closed 2 months ago

stmeissner commented 3 months ago

As a documentarian for APIs, I'd like to show the response codes for an image upload endpoint.

Current behavior

The response codes as modelled in RAML:

      headers:
        Content-Type:
          type: string
          description: |
            One of `image/jpeg`, `image/png`, or `image/gif`.
      responses:
        200:
          body:
            application/json:
              type: Product
        202:
          body:
            application/json:
              type: Product

are currently not shown: no response codes

Expected behavior

The response codes are shown similar to this: response codes shown