serverless-openapi-documenter
serverless-openapi-documenter copied to clipboard
[Feat] Support APIS not defined under functions.funcName.events[http or httpApi]
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
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.
That would be amazing!