Skip to content

Commit 2e661df

Browse files
workflow: trigger on all changes to api/*
1 parent 785606c commit 2e661df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update_api_spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
push:
88
paths:
9-
- 'api/openapi.yaml'
9+
- 'api/*'
1010

1111
jobs:
1212

api/scripts/gen_spring.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for path in matching user gateway; do
2222
-g spring \
2323
-i api/openapi.yaml \
2424
-o server/$path/generated \
25-
--additional-properties=useTags=true,interfaceOnly=true
25+
--additional-properties=useTags=true,interfaceOnly=true,artifactId=openapi-spring-$path
2626

2727
# echo generating gradle
2828
echo "Generating gradle project files for $path..."

0 commit comments

Comments
 (0)