Skip to content

Commit 23566c1

Browse files
committed
regenerate from templates before update by comoser
1 parent 54c8c72 commit 23566c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.openapi-generator/templates/composer.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656
},
5757
"scripts": {
58-
"post-update-cmd": [
58+
"pre-update-cmd": [
5959
"npx openapi-generator-cli generate -i openapi.yml -g php --git-user-id Spoje-NET --git-repo-id php-csas-webapi -c .openapi-generator/config.yaml",
6060
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --diff --verbose --allow-risky=yes"
6161
]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
},
5252
"scripts": {
53-
"post-update-cmd": [
53+
"pre-update-cmd": [
5454
"npx openapi-generator-cli generate -i openapi.yml -g php --git-user-id Spoje-NET --git-repo-id php-csas-webapi -c .openapi-generator/config.yaml",
5555
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --diff --verbose --allow-risky=yes"
5656
]

0 commit comments

Comments
 (0)