routing-controllers-openapi icon indicating copy to clipboard operation
routing-controllers-openapi copied to clipboard

implement Authorized feature

Open amitgilad3 opened this issue 5 years ago • 2 comments

Hi, id like to implement the Authorized feature but not sure how to start and how the spec would look like for this.

can somebody maybe assist me in implementing this feature??

amitgilad3 avatar Aug 19 '20 20:08 amitgilad3

I'd love to implement this, too. But I'm facing the same issue of where to start.

@epiphone could you please point us somewhere?

nicolaiort avatar Nov 27 '20 19:11 nicolaiort

Here's how authorization works in routing-controllers: https://github.com/typestack/routing-controllers#using-authorization-features And here's how OpenAPI's security property works: https://idratherbewriting.com/learnapidoc/pubapis_openapi_step6_security_object.html

Now the problem is tying these two together. I don't have a solution in mind but happy to merge if you come up with one :+1:

epiphone avatar Nov 28 '20 04:11 epiphone