Skip to content

Instantly share code, notes, and snippets.

@someshkoli
Created July 21, 2020 20:09
Show Gist options
  • Save someshkoli/8479481c161d92121a2f3fff768c0035 to your computer and use it in GitHub Desktop.
Save someshkoli/8479481c161d92121a2f3fff768c0035 to your computer and use it in GitHub Desktop.
sdk-generator usage
const generate = require('.').generate;
// this version is valid till the first cut feature/nodejs-request-sdkgen
generate({
type: 'json',
collection: //collection json here
}, {
language: 'Nodejss',
variant: 'request',
}, (err, snippet) => {
console.log(err);
console.log(snippet);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment