openapi-generator-cli icon indicating copy to clipboard operation
openapi-generator-cli copied to clipboard

What is the glob property?

Open kevineaton603 opened this issue 5 years ago • 2 comments

Somewhat new to this package so I wondering what is the glob property? I am assuming that it is swagger doc that I want to generate from but then what is the difference between glob and input-spec? Also why can't glob be a url?

kevineaton603 avatar Sep 03 '21 13:09 kevineaton603

By using a glob u can use the same generator config for multiple files. For each file matching the glob the configuration is applied. Within the configuration itself placeholders are available: https://github.com/OpenAPITools/openapi-generator-cli/blob/master/apps/generator-cli/src/README.md#available-placeholders

kay-schecker avatar Mar 17 '22 11:03 kay-schecker

why can't it be url?

omeralper avatar Apr 13 '22 13:04 omeralper