feathersjs-ecosystem / feathers-swagger

Add documentation to your FeatherJS services and feed them to Swagger UI.
MIT License
225 stars 64 forks source link

TypeError: Cannot read property 'name' of undefined #19

Closed pinussilvestrus closed 7 years ago

pinussilvestrus commented 7 years ago

Hi,

after your latest commit last night, feathers-swagger fails to run in my project:

image

Is there anything new required since the last commit?

regards.

daffl commented 7 years ago

Use the latest version 0.3.0 from npm. You may have to change new feathersSwagger.utils.* to feathersSwagger.* like new feathersSwagger.utils.Definition() to feathersSwagger.definition().