Skip to content

Conversation

JochenHeizmann
Copy link

@JochenHeizmann JochenHeizmann commented Mar 18, 2025

I had some problems with RapiDoc with multipart/form-data Requests in combination with generating the CURL Requests.

First, it didn't handle the items I enter in a <tag-input> component correctly.

It also resets the items each time when I clicked "TRY" to send the request (when show-curl-before-try is set to 'true').

Finally, it also didn't live update the CURL request.

Besides my changes to address those issues, I've also added an example specs to try it out (docs/specs/form-data-test.json).

FYI: I've based this pull request on the v9.3.8 because that was the version I used for my project.

- Correctly handle <tag-input> compoenents to generate CURL Requests with array items
- Auomatically live update CURL Requests when show-curl-before-try is set to true
- Added JSON Spec as example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant