Skip to content

Repository files navigation

OpenAPI CLI

Go Report CardGoDocLicenseGitHub release (latest by date)

A Command Line Interface (CLI) tool for serving, validating, and linting OpenAPI specifications.

Table of Contents

Installation

GitHub Releases

Please visit the GitHub Releases page to download the latest version of the OpenAPI CLI.

Command Line

To install the latest version of the OpenAPI CLI via the command line, you can use the following command:

go install github.com/mertssmnoglu/openapi-cli@latest

It will automatically download the latest version of the OpenAPI CLI and install it in your $GOPATH/bin directory. Make sure that your $GOPATH/bin directory is in your $PATH.

Usage

>>> openapi-cli help
A Command Line Interface (CLI) tool for serving, validating, and linting OpenAPI specifications.
Usage:
openapi-cli [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
serve Serve the OpenAPI file
Flags:
-h, --help helpfor openapi-cli
Use "openapi-cli [command] --help"for more information about a command.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

A Command Line Interface (CLI) tool for serving, validating, and linting OpenAPI specifications.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages