Skip to content

Commit

Permalink
fix: remove unused cli flags
Browse files Browse the repository at this point in the history
The `--internal` and `--unstable` cli flags were never actually used by
openapi-generator. This commit removes no functionality of the tool,
it only cleans the cli interface.

Ticket: VL-1855
  • Loading branch information
andrew-scott-fischer committed Apr 1, 2024
1 parent aa37b22 commit 2fbadf3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/openapi-generator/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,6 @@ const app = command({
long: 'description',
short: 'd',
}),
includeInternal: flag({
type: boolean,
description: 'include routes marked private',
long: 'internal',
short: 'i',
defaultValue: () => false,
}),
includeUnstable: flag({
type: boolean,
description: 'include routes marked unstable',
long: 'unstable',
short: 'u',
defaultValue: () => false,
}),
codecFile: option({
type: optional(string),
description: 'Custom codec definition file',
Expand Down

0 comments on commit 2fbadf3

Please sign in to comment.