Install
openclaw skills install api-doc-generatorAutomatically generate OpenAPI/Swagger API documentation by analyzing function signatures and extracting parameter and return types from Python, JavaScript,...
openclaw skills install api-doc-generator自动从代码生成 API 文档。
用户: 帮我把这个Python函数生成API文档
助手: (使用此skill生成OpenAPI文档)
{
"openapi": "3.0.0",
"info": { "title": "API", "version": "1.0.0" },
"paths": {
"/users": {
"get": {
"summary": "获取用户列表",
"parameters": [...],
"responses": { "200": {...} }
}
}
}
}