wcandillon / swagger-js-codegen

A Swagger Codegen for typescript, nodejs & angularjs
Apache License 2.0
693 stars 286 forks source link

swagger 2.0 - add domain automatically based on schema, host and basePath if present #54

Closed borisirota closed 9 years ago

borisirota commented 9 years ago

the swagger 2.0 spec supports schema, host and basePath so the domain can be taken from there without the need to pass it in the Model construction.

wcandillon commented 9 years ago

@borisirota good point!