grape-swagger icon indicating copy to clipboard operation
grape-swagger copied to clipboard

External API

Open pragmaticivan opened this issue 10 years ago • 3 comments

How I can add an external API documentation?

For example, I'm using doorkeeper, POST /api/v1/token That's not a grape endpoint. How can I add this endpoint into swagger ?

pragmaticivan avatar Dec 26 '14 19:12 pragmaticivan

I don't think grape-swagger currently supports it, but there should be a way to do this. I'll label this as a feature request.

dblock avatar Dec 26 '14 21:12 dblock

Note that we discussed rewriting grape-swagger on top of swagger-rb, see https://github.com/tim-vandecasteele/grape-swagger/issues/137, which would make this much easier.

dblock avatar Jan 27 '15 14:01 dblock

+1

23tux avatar Jan 27 '15 14:01 23tux