Skip to content

Feature request: Input yaml from stdin #869

Closed
@kgtkr

Description

@kgtkr

Example:

# Input from stdin
$ openapi-typescript -

Currently openapi-typescript /dev/stdin doesn't work.

file:///home/kgtkr/path/to/node_modules/openapi-typescript/bin/cli.js:38
  throw new Error(errorMessage);
        ^

Error: ❌ Could not find any specs matching "/dev/stdin". Please check that the path is correct.
    at errorAndExit (file:///home/kgtkr/path/to/node_modules/openapi-typescript/bin/cli.js:38:9)
    at main (file:///home/kgtkr/path/to/node_modules/openapi-typescript/bin/cli.js:149:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions