-
Below is the code,
```javascript
const form = new FormData()
form.append('image', {
name: imageFileName,
type: imageType,// image/jpeg
uri: Plat…
-
## Problem statement
Generated specification is in a wrong yaml format. Notice the `- description: |4-` in specification below. Not sure what might cause that, but it only happens when the `Type` i…
-
## Problem statement
`in: formData` in `swagger:route` annotation translates to nothing (`in` field is omitted) in the yaml spec file. It's specified in the [Swagger 2.0 Specs](https://github.com/OA…
-
### Describe the bug
When I used axios to upload a file to the server as a form, the content of the Content-type I manually set appeared without a semicolon in my actual request headers
### To Repro…
-
similar to typescript-fetch #3920
it always use FormData without check api doc "consumes"
application/x-www-form-urlencoded should be default content-type
FormData should be used only if api doc sp…
-
### Q&A
- Swagger-Client version: 3.10.2
- Swagger/OpenAPI version: OpenAPI 3.0
### Content & configuration
Swagger/OpenAPI definition:
```yaml
paths:
/test:
post:
request…
-
https://askiebaby.github.io/using-formdata-and-setting-multipart-to-upload-file-by-ajax/
FormData 介面可為表單資料中的欄位/值建立相對應的的鍵/值對(key/value)集合,之後便可使用 XMLHttpRequest.send() 方法來送出資料。
-
I have a played a bit here with `bun` and `hono` to see how it works and realized that the request body comes there in raw format if I want to upload files.
surprisingly, getting body as a buffer w…
-
MultipartFormDataBody formData is no data! multipart/form-data?form have file
-
Before the release we should fix some of the Open API Specs syntax errors.
To verify the OpenAPI I imported the API in [app.swaggerhub.com](app.swaggerhub.com) and saw that there a few issues:
I…