feat: 添加解析输入参数的JSON Schema功能,增强工作流API的输入验证和文档生成能力
This commit is contained in:
@@ -91,6 +91,7 @@ async def get_one_workflow_endpoint(base_name: str, version: Optional[str] = Non
|
||||
return {
|
||||
"workflow": workflow,
|
||||
"api_spec": comfyui_client.parse_api_spec(workflow),
|
||||
"inputs_json_schema": comfyui_client.parse_inputs_json_schema(workflow),
|
||||
}
|
||||
except Exception as e:
|
||||
raise HTTPException(
|
||||
|
||||
Reference in New Issue
Block a user