Adjust script & paths so that referencing other schemas work
Some checks failed
Generate and Release Protos / release (push) Failing after 28s

This commit is contained in:
2026-05-03 00:30:46 +01:00
parent 513196c43d
commit 180886fd68
2 changed files with 2 additions and 2 deletions

View File

@@ -218,7 +218,7 @@
} }
}, },
"pis": { "pis": {
"$ref": "../pis-object.json" "$ref": "./schemas/api/pis-object.json"
} }
} }
} }

View File

@@ -18,7 +18,7 @@ for file in $FILES; do
npx --yes json-schema-to-typescript "$file" > "../../../gen/ts/${clean_name}.ts" npx --yes json-schema-to-typescript "$file" > "../../../gen/ts/${clean_name}.ts"
# Generate Go # Generate Go
go-jsonschema -p contracts "$file" > "gen/go/models/${clean_name}.go" go-jsonschema -p contracts "$file" > "./gen/go/models/${clean_name}.go"
done done
echo "✅ Generated single TS package in gen/ts" echo "✅ Generated single TS package in gen/ts"