openapi-cli-generator

(โ˜… 218)

Generate a CLI from an OpenAPI 3 specification

  • .gitignore
  • .travis.yml
  • bindata.go
  • CHANGELOG.md
  • go.mod
  • go.sum
  • LICENSE
  • main.go
  • main_test.go
  • README.md
  • test.sh

# Installation Guide

1. Get the code
git clone https://github.com/danielgtaylor/openapi-cli-generator

Downloads the entire project code from GitHub to your computer.

cd openapi-cli-generator

Moves into the project folder you just downloaded.

2. Go

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
$ go install

Type this command into your terminal and run it.

$ go run *.go generate my-api.yaml

Runs the Go program directly without a separate build step.

โœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

Pulled directly from this repo's README.

// repository documentation