Open hirenoble opened 4 years ago
@hirenoble Glad to hear you like the package!
Under the hood, it actually uses the httpsnippet library, which determines valid targets. I.e., you would have to file this issue with them to add support for other libraries.
Hi @ErikWittern ! We see that https://github.com/Kong/httpsnippet/tree/master/src/targets/node/fetch has been added to httpsnippet, would it be possible to add support for this in openapi-snippet? cc @hirenoble
Hi Erik,
First of all, thank you very much for creating this package. It works great!
The
node_request
target creates a code sample using thehttps://www.npmjs.com/package/request
package but recently there was an announcement that this will be no longer supported. Hence, it would be great to add/update node code sample usinghttps://www.npmjs.com/package/node-fetch