OpenAPITools / openapi-generator-bazel

Bazel plugin for OpenAPI Generator
Apache License 2.0
66 stars 48 forks source link

pass ignore file to cli #11

Open funkykay opened 4 years ago

funkykay commented 4 years ago

Hey, maybe i am stupid... is it possible to pass a ignore file to the generator cli through the bazel rule?

wing328 commented 4 years ago

You can create .openapi-generator-ignore (works similar to .gitignore) in the output directory directly.

funkykay commented 4 years ago

But I think the output folder is somewhere in the depth of bazels directory structure. I cannot really access it in a good way, right?

I know that works when I use the cli jar directly, but in this case the bazel rule is calling it.

wing328 commented 3 years ago

Sorry I've no clue how to make it work with Bazel :(

I'm still learning Bazel.