feathersjs-ecosystem / feathers-swagger

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

Bug: Wrong typings for SwaggerInitOptions defaults.getOperationsRef #185

Closed Mairu closed 4 years ago

Mairu commented 4 years ago

Describe the bug The typescript definitions have a typo, there is a SwaggerInitOptions.defaults.getOperationRef property defined, but it should be SwaggerInitOptions defaults.getOperationsRef.

To Reproduce Try to use getOperationsRef in a typescript file.

Expected behavior Using getOperationsRef should work not lead to typescript errors.