API Doc Generator GrapesJS
3 images
NNew

API Doc Generator GrapesJS

Free
GrapesJS:0.22.x

What's Included

  • Free to download & use
  • Open for personal & commercial use
New

Support The Creator

Use one-time or monthly support to thank the creator for this free product.

GrapesJS Compatible

Tested with GrapesJS 0.22.x

Free Download

Download and use in your projects for free

Editor Compatible

Designed for the GrapesJS open-source editor

Free to Use

Open for personal and commercial projects

GrapesJS API Doc Plugin

Drop tables and forms onto the GrapesJS canvas — the plugin infers your REST API endpoints automatically and generates OpenAPI 3.1, a Postman Collection, and mock data in one click.

What gets inferred

Canvas componentInferred endpoints
Data tableGET list + GET detail + PUT update + DELETE
Create / edit formPOST / PUT + request body schema
Search barQuery parameter inference
Select dropdownEnum value extraction
Chinese column names / labelsEnglish field names (300+ mappings)

One-click export

  • OpenAPI 3.1 JSON
  • Postman Collection JSON (imports straight into Postman)

Quick start

npm install grapesjs-plugin-apidoc 
import apiDocPlugin from 'grapesjs-plugin-apidoc'; grapesjs.init({ plugins: [apiDocPlugin] }); 

Build your page on the canvas → click the API Docs button in the top-right panel → your API documentation is ready.

Options

OptionTypeDefaultDescription
apiPrefixstring'/api'API path prefix
btnLabelstring'API Docs'Panel button label
autoScanbooleanfalseScan automatically on load
panelIdstring'options'ID of the panel hosting the button
debugbooleanfalseVerbose scan output in the console

How it works

CanvasScanner → TableAnalyzer + FormAnalyzer → APIInferrer → OpenAPI31Generator (component scan) (table / form inference) (dedupe) → PostmanGenerator → MockDataGenerator 

License

MIT


Ratings:

No reviews yet. Be the first to share your experience.


Share this item:
Last Update:Jul 31, 2026
Published:Jul 30, 2026
Versions:
0.22.x

Questions & Answers

No questions yet. Have something to ask?