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

attachSwaggerArtifact ignores outputFilename #62

Open ipichris opened 3 years ago

ipichris commented 3 years ago

Describe the bug When using attachSwaggerArtifact = true the filename of the maven artifact is always ...swagger.json and ...swagger.yaml instead of the configured outputFilename.

To Reproduce Maven project with swagger-maven-plugin configured with outputFilename = "openapi" and attachSwaggerArtifact = "true" and build the maven project.

Expected behavior The outputFilename is used instead of "swagger"