feathersjs-ecosystem / feathers-swagger

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

Added typings for custom Swagger specifications generation. #176

Closed deskoh closed 4 years ago

deskoh commented 4 years ago

This PR adds typings for docs in the following example:

const messageService = memory();

  // `docs` will be typed correctly.
  messageService.docs = {
    // ...
  };
Mairu commented 4 years ago

Thank you very much!