APIDevTools / swagger-cli

Swagger 2.0 and OpenAPI 3.0 command-line tool
https://apitools.dev/swagger-cli
MIT License
517 stars 68 forks source link

feat(validate): add multiple file arguments to CLI #81

Open umarhussain15 opened 2 years ago

umarhussain15 commented 2 years ago

The CLI can now accept multiple file arguments. These arguments can be file paths or glob-pattern. In case of glob-pattern, all the matched paths are added to validation.

For bundle command it explicitly checks that only one path is given. If multiple arguments are given of a glob-pattern which matches multiple files it throws an error.

ihorbond commented 1 year ago

it's a shame this never got merged :(