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

vote to return the curl feature in 3.x #1407

Closed
lucidtech opened this issue Nov 14, 2018 · 4 comments
Closed

vote to return the curl feature in 3.x #1407

lucidtech opened this issue Nov 14, 2018 · 4 comments

Comments

@lucidtech
Copy link

lucidtech commented Nov 14, 2018

Is your feature request related to a problem?

"I used swaggerjs to build an api playground for our product - and creating curl options was heavily used. After upgrading to 3.x I notice that curl is deprecated"

Describe the solution you'd like

add the curl option back to swagger 3.x

Describe alternatives you've considered

I looked at implementing my own solution - however I couldn't find something obvious that would do what I needed. I "assume" I need to find some utility that takes a fetch structured api object and generate a string for it.

@shockey
Copy link
Contributor

shockey commented Nov 14, 2018

hey @lucidtech! are you referring to asCurl?

@lucidtech
Copy link
Author

@shockey sorry... yes - I am referring to asCurl

@shockey
Copy link
Contributor

shockey commented Jan 15, 2019

@lucidtech gotcha! for now, cURL construction lives in Swagger UI as of version 3.

I'm not overwhelmingly inclined to move it, but if this issue gets traction we can do it.

@shockey
Copy link
Contributor

shockey commented Jan 15, 2019

Going to close this for the time being - our position is that cURL command generation is more of a documentation feature than an HTTP client feature, and thus should live in Swagger UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants