Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appending requestBody to curl samples #33

Open
nada-one opened this issue Jan 27, 2022 · 1 comment
Open

Appending requestBody to curl samples #33

nada-one opened this issue Jan 27, 2022 · 1 comment

Comments

@nada-one
Copy link

nada-one commented Jan 27, 2022

Hello! First of all, thanks for this awesome package! It's just so really helpful in producing excellent API documentation.

I just wanted to reach out to ask if there's a way I can append the form-data params to the curl examples. Right now, requestBody that are of multi-part form data and application/json content types show in the curl samples if httpsnippet and experimental options are hardcoded to true, but not params with x-www-form-urlencoded content-type. Any help is much appreciated.

Thank you in advance!

@nada-one
Copy link
Author

nada-one commented Jan 28, 2022

Turns out to be an issue in widdershins package. Sent a PR for potential fix: Mermade/widdershins#492

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

No branches or pull requests

1 participant