OpenAPITools / sbt-openapi-generator

Other
27 stars 35 forks source link

Add a hook for generating metadata files #23

Closed jrouly closed 4 years ago

jrouly commented 4 years ago

Move the metadata generation hook into the sbt plugin.

Adds the setting key openApiGenerateMetadata which is explicitly checked in the openApiGenerate task.

@jimschubert

jimschubert commented 4 years ago

Yeah! I think that's way cleaner, plus doesn't move tooling config into client template properties.

jrouly commented 4 years ago

I still think it would be nice to surface this flag in the other generator flags that e.g. OpenAPI CLI can set - but I'm not particularly motivated to fight for that since I'm only using the sbt plugin at the moment :)