refactor: shared YAML types via tf-tools/lib (yaml-generator + resource-generator)

TOOLS/lib/types.go — canonical ServiceSpec, ParamSpec, OperationSpec, OutputParam.
Both generators use type aliases, one source of truth for YAML contract.
docs-generator stays as-is (will be replaced by LLM-based generator).
This commit is contained in:
“Naeel”
2026-07-06 09:40:59 +04:00
parent 53d03004de
commit b56e634796
8 changed files with 137 additions and 131 deletions
+4
View File
@@ -3,3 +3,7 @@ module resource-generator
go 1.24
require gopkg.in/yaml.v3 v3.0.1
require tf-tools/lib v0.0.0
replace tf-tools/lib => ../lib