openapi-typescript
openapi-typescript copied to clipboard
Generate subset of schema
Description
I've OpenAPI schema with multiple the security schemes. Some paths are public and some are internal.
How to get types for public paths (methods) only?
Proposal
May be we can add an option to filter by path, tags or operation id?
--filter 'operation=foo' --filter 'operaton=bar' // include only matched by operation id
--filter 'operation!=foo' // exclude path by operation id
--filter 'tag!=tag name' // excude by tag