[BUG] For PHP Symfony, both Swagger 2.0 and OpenAPI 3.0 samples are written to the same directory
Created by: ivan-aksamentov
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
What's the version of OpenAPI Generator used? -
Have you search for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Bounty to sponsor the fix (example)
Description
When generating samples for PHP Symfony with ./bin/php-symfony-petstore.sh
and ./bin/openapi3/php-symfony-petstore.sh
the resulting bundles overwrite each other.
openapi-generator version
4.0.3
OpenAPI declaration file content or url
The default Pet Store ones, used for samples.
Command line used for generation
./bin/php-symfony-petstore.sh
./bin/openapi3/php-symfony-petstore.sh
Steps to reproduce
Run one script, observe results. Run another script. Results of the first script are partially overwritten.
Related issues/PRs
Suggest a fix
Fixed in #3532