sourcefuse/loopback4-authorization

Add Decorator for permissions description in OpenAPI specs

akshatdubeysf opened this issue · 0 comments

Describe the bug
A Decorated API has no description of the required permissions in the API Explorer, the only way to know the required permissions is to look into the code.

To Reproduce

  • Add the decorator to an API.
  • Open the API in the explorer.
  • There is no specification for the required permissions.

Expected behavior

There should be a way to specify and/or describe the permission required by a particular API.