Report this

What is the reason for this report?

Swagger for Functions

Posted on May 23, 2024

Is it possible or are there any ways to implement a swagger or swagger-like feature to document the Functions that I have for a given namespace?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey!

Yes, I believe that this should be doable to implement a Swagger or Swagger-like feature to document your DigitalOcean serverless functions.

You would just need to adapt it to document your serverless functions by defining your functions as API endpoints.

Are you seeing any specific issues or errors when you try to do that for your serverless functions?

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.