docusign-esign-node-client
docusign-esign-node-client copied to clipboard
Document process for generation of typescript types
While included, official type definitions would be ideal, since they aren't on the roadmap, perhaps we can add instructions from #116 to at least allow typescript consumers of the client a good starting place for putting in type annotations.
- go to https://editor.swagger.io and choose
File > Import URL
and enter https://raw.githubusercontent.com/docusign/eSign-OpenAPI-Specification/master/esignature.rest.swagger-v2.1.json - wait a few minutes for your browser to superheat your CPU and malloc itself 128GB of ram because javascript
- click
Generate Client > typescript-<node | jquery | fetch etc>
and download the result - If you just want the types, delete every definition except for the
export interface
definitions
Thank you @maxcan , I have submitted DEVDOCS-2771 to have this suggestion evaluated by our product development staff.
So over a year later, what is the status now?
Thanks for the follow-up. An update is on the way, please see the next comment from our SDK product manager.
Hi @jchull, thanks for the follow up. We have continued to see interest in better Typescript support, and are looking into options at this time. I can't provide specifics but this is something we have come back to recently.
Meanwhile in 2024...