Mermade / openapi-filter

Filter internal paths, operations, parameters, schemas etc from OpenAPI/Swagger/AsyncAPI definitions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

execution failes from 1.4.0

fehmer opened this issue · comments

After update yargs from 10.x to 14.x calling openapi-filter --tags x-public x-hidden -- infile.yaml fails with

Usage: openapi-filter [options] {infile} [{outfile}]

Options:
---snip---

Not enough non-option arguments: got 0, need at least 1

Also seeing this. yargs v.15.0.2, openapi-filter 1.4.0

Thanks, that's what I was going to try next!

Yargs seems to have got more opionated lately, and seems to have broken some stuff in the 14.x minor releases. Reworked.

@MikeRalphson Thank you so much. Will this be included in a new release soon?

v1.5.0 has just been released.