I am about to delivery a serveless API in Function App, with 5 functions, and my client needs some sort of interactive documentation with the testing environment. They accept Swagger and graphql endpoints, but I insisted on pursuing the servelss aproach, so now I'm stuck with this quick problem. Should I simply make a swagger-like wrapper application? Is there any known framework that documents and exposes Function Apps?
Asked
Active
Viewed 216 times
1 Answers
1
Instead of a wrapper application, the official recommendation is to pair Azure Functions with Azure API Management (which also has a consumption-based plan) to expose your functions with a swagger definition.
Along with now having a swagger definition, Azure APIM provides lots of functionality like rate limiting, authentication, caching etc. which you can read more about in the official APIM docs.

PramodValavala
- 6,026
- 1
- 11
- 30