refactor: outputSchema only accepts inline JSON Schema #325
Reference in New Issue
Block a user
Delete Branch "fix/319-validate-schema-only-inline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
去掉 workflow YAML 里 outputSchema 对 CAS ref 字符串的支持,只接受 inline JSON Schema 对象。
Why
简化。双格式增加复杂度,inline-only 更直观:YAML 里写 schema,
uwf workflow put自动注册。Changes
workflow.ts—resolveOutputSchemaRef只处理 object,移除 string 分支validate.ts—isRoleDefinition去掉typeof outputSchema === "string"检查isCasRefimportRefs #319
LGTM ✅ 简化合理,双格式没必要。