Compare commits
1 Commits
v3.0.3-alp
...
v3.0.3-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| 376370c729 |
@@ -15,7 +15,7 @@ for file in $FILES; do
|
||||
clean_name=$(echo "${file#schemas/}" | sed 's/\//_/g' | sed 's/\.json//g')
|
||||
|
||||
# OGenerate TS
|
||||
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
|
||||
go-jsonschema -p contracts "$file" > "./gen/go/models/${clean_name}.go"
|
||||
|
||||
Reference in New Issue
Block a user