openapi-tools / swagger-maven-plugin

Maven plugin to activate the Swagger Core library to generate OpenAPI documentation.
MIT License
70 stars 45 forks source link

fix hard coded default outputFilename #38

Closed s15r closed 4 years ago

s15r commented 4 years ago

The filename of the generated spec was always swagger.json, regardless of the specified outputFilename. This is especially problematic when multiple maven-execution blocks are defined, then the generated files are overridden with only the last generated file remaining.

langecode commented 4 years ago

That is indeed true. Probably it was only tested with the actual file in the file system not the attached one. Thank you for the contribution.