openapi-tui-0.7.1 is not a library.

openapi-tui
Terminal UI to list, browse and run APIs defined with OpenAPI v3.0 and v3.1 spec.
Usage
Examples
# open local yaml file
# open local json file
# open remote file
Demo

Other Feature Animations
Nested Components

Fullscreen

Webhooks

Filter

Call Endpoints

Installation
Install from source:
Or download pre-built artifact from release page.
Docker
Just run the application with docker.
# open local file
# open remote file
Distro Packages
Arch Linux
You can install using pacman as follows:
NixOS
You can install the openapi-tui package directly with the following command:
You can also install openapi-tui by adding it to your configuration.nix file.
# flake.nix
{
inputs.openapi-tui.url = "github:zaghaghi/openapi-tui";
# ...
outputs = {nixpkgs, ...} @ inputs: {
nixosConfigurations.<your-hostname> = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; # this is the important part
modules = [
./configuration.nix
];
};
}
}
Then, add openapi-tui to your configuration.nix
# configuration.nix
{inputs, pkgs, ...}: {
environment.systemPackages = with pkgs; [
inputs.openapi-tui.packages.${pkgs.system}.openapi-tui
];
}
Keybindings
| Key | Action |
|---|---|
→, l |
Move to next pane |
←, h |
Move to previous pane |
↓, j |
Move down in lists |
↑, k |
Move up in lists |
1...9 |
Move between tabs |
] |
Move to next tab |
[ |
Move to previous tab |
f |
Toggle fullscreen pane |
g |
Go in nested items in lists |
/ |
Filter apis |
Backspace, b |
Get out of nested items in lists |
Implemented Features
- Viewer
- OpenAPI v3.1
- Display Webhooks
- Display Info and Version
- Filter APIs
- Remote API specification
- Merge Parameters Based on
in - Pane Fullscreen Mode
- Nested Components
- Status Line
- Phone Page
- Call History
- Request Plain Editor
- Header Input (No Validation)
- Path Input (No Validation)
- Calling
- Plain Response Viewer (Status + Headers + Body)
Next Release
- History viewer
- Refactor footer, add flash footer messages
Backlog
- Schema Types (openapi-31)
- Display Key Mappings in Popup
- Cache Schema Styles
- Read Spec from STDIN
- Command Line
- Support array query strings
- Suppert extra headers