workflows.fit
Back to n8n workflows
n8n templateFreeBy Danger

WebhookDocs: generate swagger preview of your active workflows

How it Works This meta-workflow is designed to intelligently scan all your active workflows in n8n, identify those that contain Webhook nodes, and automatically generate a Swagger (OpenAPI) specification based on them...

DevelopmentCore NodesUtilityN8nCodeRespond To WebhookWebhook
Loading interactive preview...

Template notes

How it Works

This meta-workflow is designed to intelligently scan all your active workflows in n8n, identify those that contain Webhook nodes, and automatically generate a Swagger (OpenAPI) specification based on them.

The output Swagger document reflects all accessible endpoints from your Webhook nodes, making it easier to:

- Visualize your API structure - Share your endpoints - Integrate with tools like Postman or Swagger UI

![image.png](fileId:1349)

Enhanced Parameter Support

If you want the Swagger to reflect request parameters (e.g., query or body fields), you can annotate your Webhook nodes using the Note section. When configured properly, these annotations enrich your Swagger documentation with parameter names, types, and descriptions.

![image.png](fileId:1348) ![image.png](fileId:1347) Setup Steps