The plugin generates NocoBase HTTP API documentation based on Swagger.
This is a built-in plugin, no installation required. Activate to use.
http://localhost:13000/admin/settings/api-doc/documentation


/api/swagger:get/api/swagger:get?ns=core/api/swagger:get?ns=plugins/api/swagger:get?ns=plugins/{name}/api/swagger:get?ns=collections${collection} and related ${collection}.${association} resources: /api/swagger:get?ns=collections/{name}Add a swagger/index.ts file in the plugin's src folder with the following content:
For detailed writing rules, please refer to the Swagger Official Documentation.