Skip to content

Commit

Permalink
fix: .gitignore + little rearrangement in generate-package.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Oct 24, 2024
1 parent 687b0d9 commit 6293d4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
openapi-generator*.jar
swagger.json
swagger.json
swagger.yaml
6 changes: 4 additions & 2 deletions generate-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ fi

OUTPUT=./package

rm -rf $OUTPUT/src/runtime.ts $OUTPUT/src/apis $OUTPUT/src/models $OUTPUT/dist $OUTPUT/tsconfig.json
# Clean
rm -rf $OUTPUT/dist $OUTPUT/src/apis $OUTPUT/src/models $OUTPUT/src/runtime.ts $OUTPUT/tsconfig.json

# Generate
# See https://openapi-generator.tech/docs/generators/typescript-fetch
# for a list of available additional properties.
java \
Expand All @@ -37,8 +39,8 @@ allowUnicodeIdentifiers=true,\
supportsES6=true,\
modelPropertyNaming=original,\
paramNaming=original,\
npmName=@bimdata/typescript-fetch-api-client,\
useSingleRequestParameter=false,\
npmName=@bimdata/typescript-fetch-api-client,\
npmVersion=$VERSION

exit 0

0 comments on commit 6293d4f

Please sign in to comment.