raml-javascript-generator icon indicating copy to clipboard operation
raml-javascript-generator copied to clipboard

Generate a JavaScript API client from RAML

Results 42 raml-javascript-generator issues
Sort by recently updated
recently updated
newest added

Hello, everyone. Thank you for this module, I'm using it for my node JS project. Recently I've got an error. My api contains url with zero as one of parts:...

There is a bug regarding the securitySchemes. If they are not specified the generation fails at support/api.js line 6.

Global headers provided on client init do not work. Reason: Every function call uses something like {code} var options = extend({ body: body, headers: {} }, opts) {code} i.e. forcefully...

Given a resource of `users/{userId}`, the method `users.userId({userId: 123})` is overly verbose and redunant. If the given URI has a single param and the input value passed is a single...

Function call for REST URL like "/foo/{foo}" are documented as "client.foo({foo})" - which I would interpret as String value for the parameter. Implementation shows a wrapper object is assumed: client.foo({foo...

In case the RAML file ONLY has URLs with URL parameters (i.e. "/foo/{foo}") the generator is only spitting out in constructor. {code} setprototypeof(client, this) {code} but NO specific mappings like...

this file has ``` Client.prototype.request = popsicle Client.prototype.form = Client.form = popsicle.form Client.prototype.version = {{{stringify version}}} ``` Maybe first line should be `Client.prototype.request = popsicle.request` or similar?

Hi, I have done `npm install raml-javascript-generator`, however, when I attempt to actually require in the library in a script, it is failing: This: ``` jsGen = require('raml-javascript-generator'); var output...

I'm using raml-javascript-generator to generate resources on my client side that is written in Typescript. What is missing is the type safety on raml client resources. Generate an extra d.ts...

enhancement

See https://github.com/mulesoft/raml-client-generator/issues/15 for using Popsicle plugins.