diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bb89332d..4cc75968 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,7 @@ jobs: if: success() uses: actions/setup-go@v2 with: - go-version: 1.18.x + go-version: 1.16.x - name: Checkout code uses: actions/checkout@v2 - name: Run tests @@ -22,7 +22,7 @@ jobs: - name: Postman generated working-directory: specs run: | - go install github.com/grokify/spectrum@v1.15.0 + go install github.com/grokify/spectrum@v1.10.3 spectrum --config engage-digital_postman2.config.json --basePostmanFile engage-digital_postman2.base.json --openapiFile engage-digital_openapi3.yaml --postmanFile engage-digital_postman2.json.new diff engage-digital_postman2.json engage-digital_postman2.json.new lint: diff --git a/specs/README.md b/specs/README.md index 5de7681d..44032320 100644 --- a/specs/README.md +++ b/specs/README.md @@ -10,7 +10,7 @@ Use the following files: The following files are used to generate the Postman collection and are not designed to be used on their own: * `engage-digital_postman2.config.json`: configuration file for Spectrum Postman Collection generator. -* `engage-digital_postman2.base.json`: +* `engage-digital_postman2.base.json`: ## Postman Collection @@ -27,10 +27,10 @@ Use `spectrum` to create the Postman 2.x collection from the OpenAPI 3 API Speci The following will install the `spectrum` executable in the `~/go/bin` directory. ```bash -$ go get github.com/grokify/spectrum +$ go install github.com/grokify/spectrum@v1.10.3 ``` -This approach requires `go` 1.16 minimum be installed on your system. See more here: [https://golang.org/](https://golang.org/). +This approach requires `go` 1.16 be installed on your system. See more here: [https://golang.org/](https://golang.org/). ### Usage