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

Support for multipart-form in API specs rendering #1886

Closed Anshuman71 closed 1 day ago

Anshuman71 commented 7 months ago

The docs-kit renderer should show at least the payload mime type (multipart-form).

Below is an example spec that can help with the testing of this feature.

/demofiles:
  post:
      description: Upload new files
      body:
          multipart/form-data:
            properties:
              fileName:
                description: Name of the file
                type: string
                required: true
              content:
                description: Content of the file
                type: file
                fileTypes: ['application/octet-stream','image/png']
                required: true
              manifest:
                description: Description of the file
                type: object
                fileTypes: ['application/json']
                required: true
      responses:
        200:
          body:
            application/json:
              type: object
gabriele-ct commented 1 month ago

No new UI, just support multipart new type

timonrey commented 2 weeks ago

Blocked until the tech-writers confirm that we still need this.

adinakleine commented 1 week ago

Blocked until the tech-writers confirm that we still need this.

@stmeissner will get back to you.

stmeissner commented 1 week ago

@timonrey Currently, we don't need this feature.

timonrey commented 1 day ago

Closed until the feature is needed.