postui

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 24 Imported by: 0

README ¶

🌒 PosTUI

GitHub GitHub go.mod Go version

wip

Terminal User Interface for testing API requests written in Golang.

Using the bubbletea framework.

🌓 Installation

go install github.com/bramca/postui/cmd/postui@latest or check out the releases

🌔 Usage

postui -f <api-config.json>

or

postui -s <api-spec.yaml> -v <spec version>

Options
  • -specfile, -s [optional]
    • path to your openapi specification file

  • -specversion, -v [optional]
    • specify the major version of your spec
    • values: 2, 3

  • -collectionfile, -f [optional]
    • path to api collection file

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func InitialModel ¶

func InitialModel(collectionFilePath string, specFile string, specVersion int) model

func NewKeymap ¶

func NewKeymap() keymap

Types ¶

type Focus ¶

type Focus int
const (
	FocusInput Focus = iota
	FocusResponseView
)

type Tab ¶

type Tab int
const (
	TabCollection Tab = iota
	TabRequestHeaders
	TabRequestBody
	TabResponseBody
	TabResponseHeaders
)

Directories ¶

Path Synopsis
cmd
postui command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL