Skip to content

Commit faf7037

Browse files
committed
fix: generate into repo root, replacing scaffold
1 parent 9aa82b6 commit faf7037

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/regenerate.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ jobs:
1616
curl -sL https://raw.githubusercontent.com/hotdata-dev/www.hotdata.dev/main/api/openapi.yaml \
1717
-o openapi.yaml
1818
19+
- name: Clean existing source
20+
run: rm -rf src/
21+
1922
- name: Generate client
2023
run: |
2124
npx @openapitools/openapi-generator-cli generate \
2225
-i openapi.yaml \
2326
-g python \
24-
-o generated/ \
27+
-o . \
2528
--additional-properties=packageName=hotdata,projectName=hotdata
2629
2730
- name: Create PR

0 commit comments

Comments
 (0)