Generating Swagger Docs in Firebase Cloud Functions project
问题 Is it possible to generate Swagger Spec file from function comments in firebase cloud functions? If so, how can we do it? I see the cloud functions code to be more like serverless, so wondering if this is possible. 回答1: I haven't found an automatic way, but there are plenty of libraries to choose from. I'm using express and nodejs in my Firebase Function implementations, and for me, Swagger doc generation can be implemented via the following libraries: https://github.com/scottie1984/swagger