krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

fixed double carat in hapi generated package. #24

Closed tlivings closed 9 years ago

tlivings commented 9 years ago

Addresses https://github.com/krakenjs/generator-swaggerize/issues/21

totherik commented 9 years ago

:+1: yes please.

tlivings commented 9 years ago

Now also addresses https://github.com/krakenjs/generator-swaggerize/issues/22

totherik commented 9 years ago

also would have accepted basedir: __dirname :) :+1:

pvenkatakrishnan commented 9 years ago

so does it accept a basedir setting as well ? coz i don't see that being used in resolving handlers. Question possibly due to lack of enough context.

tlivings commented 9 years ago

@totherik __dirname wouldn't work because it is called by api from internal and would resolve to the wrong path.

nvm.

tlivings commented 9 years ago

@pvenkatakrishnan yes - it accepts basedir - or rather swagger-haps etc does.

pvenkatakrishnan commented 9 years ago

:+1: