返回命令列表

Linux command

openapi-tui 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Open a local spec file

openapi-tui -i [path/to/spec.yaml]

Open a spec from URL

openapi-tui -i [https://example.com/openapi.json]

说明

openapi-tui is a terminal UI for listing, browsing, and running APIs defined with OpenAPI v3.0 and v3.1 specifications. It supports loading specs from local files or URLs in both JSON and YAML formats, adding query strings and headers, and making API calls directly from the terminal.

参数

-i, --input _PATH_OR_URL_
OpenAPI spec file path or URL (JSON or YAML).

FAQ

What is the openapi-tui command used for?

openapi-tui is a terminal UI for listing, browsing, and running APIs defined with OpenAPI v3.0 and v3.1 specifications. It supports loading specs from local files or URLs in both JSON and YAML formats, adding query strings and headers, and making API calls directly from the terminal.

How do I run a basic openapi-tui example?

Run `openapi-tui -i [path/to/spec.yaml]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i, --input _PATH_OR_URL_ do in openapi-tui?

OpenAPI spec file path or URL (JSON or YAML).