scalar / scalar

Scalar is an open-source API platform:                                       🌐 Modern Rest API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support
https://scalar.com
MIT License
7.71k stars 242 forks source link

multipart/form-data not rendering in GitBook #4059

Open eo33 opened 3 days ago

eo33 commented 3 days ago

What happens?

In Scalar, when the Content-Type of the request is multipart/form-data, the field values are not shown. When rendered using Swagger UI, the field values are shown.

  1. Here's what it looks like when rendered with Scalar (via GitBook): image

Note: The field values in the body are not shown, and it defaults to JSON.

  1. Here's what it looks like when rendered with Swagger UI: image

Note: The field values in the body are shown.

What did you expect to happen?

The field values of the request body to be shown, when the Content-Type : multipart/form-data.

OpenAPI Document

OpenAPI Specs

antlio commented 3 days ago

thank you @eo33 for the feedback/issue! might be related to #3222