serverless-openapi-documenter icon indicating copy to clipboard operation
serverless-openapi-documenter copied to clipboard

[Feat] Support APIS not defined under functions.funcName.events[http or httpApi]

Open ilGaru opened this issue 2 years ago • 2 comments

First of all, thank you for this plugin! I'm currently working on a serverless project that uses another plugin (serverless-apigateway-service-proxy). This plugin allows to define some APIs endpoint outside of the functions section, like this:

custom:
   apiGatewayServiceProxies:
      - sns:
          path: /testEndpoint
          method: post
          topicName: SNStopic
          request:
             template:
             ...

I need to generate documentation also for these endpoints. Is there a way to achieve this? Thank you

ilGaru avatar Nov 24 '23 11:11 ilGaru

Hmmm interesting. Not seen this before. Currently there isn't a way to do this. I could probably hack a way to do it, but it might take a little bit of time.

JaredCE avatar Nov 27 '23 09:11 JaredCE

That would be amazing!

ilGaru avatar Nov 27 '23 13:11 ilGaru