Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to OpenAPI Tools for generation #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ generate-example-client-miele:

generate-test-client:
$(DOCKER_RUN) php ./bin/openapi-client-generator ./tests/openapi-client-petstore.yaml

generate-packages:
$(DOCKER_RUN) php ./vendor/bin/openapi-generator ./example/client-gitub-one.php
41 changes: 0 additions & 41 deletions bin/openapi-client-generator.source

This file was deleted.

21 changes: 10 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
"nikic/php-parser": "^4.15",
"nunomaduro/termwind": "^1.15",
"ondram/ci-detector": "^4.1",
"openapi-tools/configuration": "dev-main",
"openapi-tools/contract": "dev-main",
"openapi-tools/gatherer": "dev-main",
"openapi-tools/generator": "dev-main",
"openapi-tools/generator-hydrator": "dev-main",
"openapi-tools/generator-schema": "dev-main",
"openapi-tools/generator-templates": "dev-main",
"openapi-tools/registry": "dev-main",
"openapi-tools/representation": "dev-main",
"openapi-tools/utils": "dev-main",
"phpstan/phpdoc-parser": "^1.22",
"pointybeard/reverse-regex": "1.0.0.3",
"psr/http-message": "^1.1 || ^2 || ^3",
Expand All @@ -35,7 +45,6 @@
"symfony/yaml": "^6.0",
"twig/twig": "^3.5",
"wyrihaximus/async-test-utilities": "^7.0",
"wyrihaximus/composer-update-bin-autoload-path": "^1",
"wyrihaximus/react-awaitable-observable": "^1.0",
"wyrihaximus/simple-twig": "^2.1",
"wyrihaximus/subsplit-tools": "dev-main"
Expand All @@ -51,9 +60,6 @@
"ApiClients\\Tests\\Tools\\OpenApiClientGenerator\\": "tests/unit/"
}
},
"bin": [
"bin/openapi-client-generator"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand All @@ -65,13 +71,6 @@
"php": "8.2.13"
}
},
"extra": {
"wyrihaximus": {
"bin-autoload-path-update": [
"bin/openapi-client-generator"
]
}
},
"scripts": {
"post-install-cmd": [
"composer normalize"
Expand Down
Loading
Loading