From 8780259351d9e62e686f430dbeb8ed6fee27f55b Mon Sep 17 00:00:00 2001 From: GCorbel Date: Thu, 6 Jun 2024 10:17:30 -0400 Subject: [PATCH] Change the doc --- specs/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/specs/README.md b/specs/README.md index 4403232..3c84a6a 100644 --- a/specs/README.md +++ b/specs/README.md @@ -24,13 +24,19 @@ Use `spectrum` to create the Postman 2.x collection from the OpenAPI 3 API Speci ### Installation -The following will install the `spectrum` executable in the `~/go/bin` directory. +Be sure to have the version of go specified in the go.mod file. If you have the latest version of go installed, you can install an oldest version with : ```bash -$ go install github.com/grokify/spectrum@v1.10.3 +$ go install golang.org/dl/go1.16@latest ``` -This approach requires `go` 1.16 be installed on your system. See more here: [https://golang.org/](https://golang.org/). +See more here: [https://golang.org/](https://golang.org/). + +The following will install the `spectrum` executable in the `~/go/bin` directory. + +```bash +$ ~/go/bin/go1.16 install github.com/grokify/spectrum@v1.10.3 +``` ### Usage