Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mertssmnoglu/openapi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

OpenAPI CLI

Go Report Card GoDoc License GitHub 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 help for 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.

AltStyle によって変換されたページ (->オリジナル) /