swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.04k stars 6.03k forks source link

[Maven-Plugin] Allow usage of Json config file instead of configOptions #4515

Open jfiala opened 7 years ago

jfiala commented 7 years ago
Description

Currently the maven task has to be configured using configOptions. It would be nice to be able to reuse an existing JSON configFile.

Swagger-codegen version

2.2.2-SNAPSHOT

Suggest a Fix

add support for a configFile location for swagger-codegen-maven-plugin

tyler2cr commented 4 years ago

related: