javanile / yamlinc

Compose multiple YAML files into one with $include tag. Split Swagger/OpenAPI into multiple YAML files.
MIT License
114 stars 24 forks source link

Support path glob #4

Closed boesing closed 4 years ago

boesing commented 6 years ago

Hey there,

would be nice if the $include could handle a glob value. Maybe like .gitignore, where you can set something like:

**/*.yaml
**/foo.yaml

Which would checkout the following example paths:

src/foo/bar/baz.yaml
src/foo/bar.yaml
src/foo.yaml
arvind-agarwal commented 5 years ago

@francescobianco thanks for the good work. Is this feature implemented in 0.2.0 branch?

francescobianco commented 5 years ago

@boesing @arvind-agarwal version 0.2.0 supports the Glob but is still under development could go online in March. Thank you for your patience.

JasonHenriksen commented 5 years ago

This would be super handy. I'm willing to contribute some time if it would help...

francescobianco commented 5 years ago

@JasonHenriksen Yes, of course, it would be appreciated. This branch is starting point for the next version https://github.com/javanile/yamlinc/tree/0.2.0-dev

boesing commented 4 years ago

As we already found a workaround, I'll close this one. Thanks for your efforts.