Add 2-3k OpenAPI documents test suite #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: suite | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '00 1 * * 1' # At 01:00 on Mondays. | |
workflow_dispatch: | |
jobs: | |
meta-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: .github/workflows/suite.sh | tee .github/workflows/suite.yml | |
- run: git --no-pager diff --exit-code | |
suite_01: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_01 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "ls OAI-OpenAPI-Specification-157a4c8/examples/v2.0/json/*.json OAI-OpenAPI-Specification-157a4c8/examples/v2.0/json/petstore-separate/spec/swagger.json" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(ls OAI-OpenAPI-Specification-157a4c8/examples/v2.0/json/*.json OAI-OpenAPI-Specification-157a4c8/examples/v2.0/json/petstore-separate/spec/swagger.json) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_02: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_02 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "ls OAI-OpenAPI-Specification-157a4c8/examples/v2.0/yaml/*.yaml OAI-OpenAPI-Specification-157a4c8/examples/v2.0/yaml/petstore-separate/spec/swagger.yaml" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(ls OAI-OpenAPI-Specification-157a4c8/examples/v2.0/yaml/*.yaml OAI-OpenAPI-Specification-157a4c8/examples/v2.0/yaml/petstore-separate/spec/swagger.yaml) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_03: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_03 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find OAI-OpenAPI-Specification-157a4c8/examples/v3.0 -type f | sort" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(find OAI-OpenAPI-Specification-157a4c8/examples/v3.0 -type f | sort) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_04: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_04 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find OAI-OpenAPI-Specification-157a4c8/examples/v3.1 -type f | sort" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(find OAI-OpenAPI-Specification-157a4c8/examples/v3.1 -type f | sort) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
OAI-OpenAPI-Specification-157a4c8/examples/v3.1/non-oauth-scopes.json | |
OAI-OpenAPI-Specification-157a4c8/examples/v3.1/non-oauth-scopes.yaml | |
OAI-OpenAPI-Specification-157a4c8/examples/v3.1/webhook-example.json | |
OAI-OpenAPI-Specification-157a4c8/examples/v3.1/webhook-example.yaml | |
EO_ | |
diff -u __ _ | |
suite_05: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_05 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -F azure.com | grep -F network" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -F azure.com | grep -F network) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_06: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_06 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -F azure.com | grep -vF network" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -F azure.com | grep -vF network) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_07: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_07 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -vF azure.com" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name swagger.yaml | sort | grep -vF azure.com) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/quarantine.country/1.0/swagger.yaml | |
EO_ | |
diff -u __ _ | |
suite_08: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_08 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F adyen" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F adyen) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/AccountService/3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/AccountService/4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/AccountService/5/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/AccountService/6/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/BalancePlatformService/1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/BinLookupService/40/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/BinLookupService/50/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/37/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/40/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/41/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/46/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/49/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/50/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/51/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/52/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/53/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/64/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/65/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/66/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/67/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/CheckoutService/68/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/FundService/3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/MarketPayNotificationService/3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/MarketPayNotificationService/4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/MarketPayNotificationService/5/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/MarketPayNotificationService/6/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/NotificationConfigurationService/1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/NotificationConfigurationService/2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/NotificationConfigurationService/3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/NotificationConfigurationService/4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/25/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/30/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/40/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/46/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/49/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/50/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/51/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/52/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/64/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/67/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PaymentService/68/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/30/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/40/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/46/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/49/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/50/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/51/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/52/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/64/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/67/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/PayoutService/68/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/25/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/30/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/40/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/49/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/67/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/adyen.com/RecurringService/68/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_09: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_09 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F amazonaws" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F amazonaws) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/application-autoscaling/2016-02-06/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/devicefarm/2015-06-23/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/dynamodb/2012-08-10/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/ec2/2016-11-15/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/ecr/2015-09-21/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/eks/2017-11-01/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/elasticfilesystem/2015-02-01/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/fsx/2018-03-01/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/iam/2010-05-08/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/inspector/2016-02-16/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/kms/2014-11-01/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/lex-models/2017-04-19/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/organizations/2016-11-28/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/polly/2016-06-10/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/s3/2006-03-01/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/secretsmanager/2017-10-17/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/servicediscovery/2017-03-14/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/snowball/2016-06-30/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/ssm-contacts/2021-05-03/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/storagegateway/2013-06-30/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/streams.dynamodb/2012-08-10/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/sts/2011-06-15/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/waf-regional/2016-11-28/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/waf/2015-08-24/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/amazonaws.com/wafv2/2019-07-29/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_10: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_10 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F apideck" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F apideck) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/apideck.com/accounting/8.70.2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apideck.com/hris/8.70.2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apideck.com/pos/8.70.2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apideck.com/sms/8.70.2/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_11: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_11 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F apisetu" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F apisetu) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aaharjh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/acko/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/agtripura/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aharakar/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aiimsmangalagiri/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aiimspatna/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aiimsrishikesh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/aktu/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/apmcservices/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/asrb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bajajallianz/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bajajallianzlife/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/barti/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bharatpetroleum/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bhartiaxagi/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bhavishya/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/biharboard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bput/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/bsehr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/cbse/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/cgbse/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/chennaicorp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/chitkarauniversity/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/cholainsurance/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/cisce/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/civilsupplieskerala/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/cpctmp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/csc/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/dbraitandaman/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/dgecerttn/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/dgft/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/dhsekerala/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ditarunachal/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ditch/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/dittripura/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/duexam/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictandaman/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistricthp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictkerala/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictodisha/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictodishasp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictpb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/edistrictup/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ehimapurtihp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/enibandhanjh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/epfindia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/epramanhp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/eservicearunachal/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/fsdhr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/futuregenerali/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/gadbih/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/gauhati/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/gbshse/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/geetanjaliuniv/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/gmch/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/goawrd/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/godigit/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/gujaratvidyapith/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hindustanpetroleum/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hpayushboard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hpbose/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hppanchayat/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hpsbys/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hpsssb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hptechboard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hsbte/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/hsscboardmh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/icicilombard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/iciciprulife/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/icsi/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/igrmaharashtra/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/insvalsura/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/iocl/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/issuer/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/jac/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/jeecup/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/jharsewa/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/jnrmand/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/juit/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/keralapsc/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/kiadb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/kkhsou/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/kotakgeneralinsurance/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/kseebkr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ktech/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/labourbih/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/landrecordskar/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/lawcollegeandaman/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/legalmetrologyup/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/licindia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/maxlifeinsurance/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mbose/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mbse/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mcimindia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/meark/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mizoramlesde/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mizorampolice/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mpmsu/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mppmc/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/mriu/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/msde/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/municipaladmin/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/nationalinsurance/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ncert/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/negd/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/neilit/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/newindia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/niesbud/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/nios/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/nitap/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/nitp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/npsailu/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/nsdcindia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/orientalinsurance/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pan/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pareekshabhavanker/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pblabour/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pgimer/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/phedharyana/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pmjay/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pramericalife/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/pseb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/puekar/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/punjabteched/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/rajasthandsa/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/rajasthanrajeduboard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/reliancegeneral/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/revenueassam/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/revenueodisha/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/sainikwelfarepud/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/saralharyana/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/sbigeneral/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/scvtup/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/sebaonline/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/statisticsrajasthan/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/swavlambancard/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/tataaia/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/tataaig/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/tbse/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transport/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportan/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportap/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportar/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportas/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportbr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportcg/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportdd/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportdh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportdl/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportga/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportgj/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transporthp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transporthr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportjh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportjk/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportka/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportkl/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportld/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportmh/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportml/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportmn/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportmp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportmz/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportnl/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportod/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportpb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportpy/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportrj/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportsk/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transporttn/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transporttr/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportts/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportuk/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportup/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/transportwb/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ubseuk/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/ucobank/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/uiic/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/upmsp/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/vhseker/3.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/apisetu.gov.in/vssut/3.0.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_12: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_12 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F docusign" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F docusign) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/docusign.net/v2.1/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_13: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_13 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F dracoon" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F dracoon) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/dracoon.team/4.29.1/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_14: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_14 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F ebay" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F ebay) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-account/v1.6.3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-compliance/1.4.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-feed/v1.3.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-fulfillment/v1.19.9/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-logistics/v1_beta.0.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-marketing/v1.10.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/ebay.com/sell-negotiation/v1.1.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_15: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_15 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F github" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F github) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-2.18/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-2.19/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-2.20/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-2.21/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-2.22/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-3.0/1.1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/github.com/ghes-3.1/1.1.4/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_16: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_16 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F google" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F google) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/accessapproval/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/accesscontextmanager/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/admin/datatransfer_v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/admin/directory_v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/admin/reports_v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/admob/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/adsense/v1.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/adsense/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/analyticsadmin/v1alpha/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/appengine/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/appengine/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/artifactregistry/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/artifactregistry/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/bigqueryreservation/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/bigqueryreservation/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/bigtableadmin/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/billingbudgets/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/binaryauthorization/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/blogger/v3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudasset/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudasset/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudasset/v1p1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudasset/v1p4beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudasset/v1p7beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbilling/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbilling/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbuild/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbuild/v1alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbuild/v1alpha2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudbuild/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudfunctions/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudfunctions/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudfunctions/v2alpha/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudfunctions/v2beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudidentity/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudresourcemanager/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudresourcemanager/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudresourcemanager/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudresourcemanager/v3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudscheduler/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudshell/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudtasks/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudtasks/v2beta3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudtrace/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/cloudtrace/v2beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/composer/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/container/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/container/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/containeranalysis/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/containeranalysis/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/contentwarehouse/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/datacatalog/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/datafusion/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/datastore/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/datastore/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/datastore/v1beta3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/deploymentmanager/alpha/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/deploymentmanager/v2beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dfareporting/v3.3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dfareporting/v3.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dfareporting/v3.5/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dfareporting/v4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/displayvideo/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/displayvideo/v1dev/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/displayvideo/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dns/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dns/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/dns/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/doubleclickbidmanager/v1.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/doubleclickbidmanager/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/file/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/file/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firebaseappcheck/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firebaseappcheck/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firebasehosting/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firebasehosting/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firebaseml/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firestore/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firestore/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/firestore/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/gameservices/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/gameservices/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/genomics/v2alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/healthcare/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/healthcare/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/iam/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/iam/v2beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/iap/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/ideahub/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/identitytoolkit/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/identitytoolkit/v3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/jobs/v3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/jobs/v3p1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/jobs/v4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/language/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/language/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/managedidentities/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/managedidentities/v1alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/managedidentities/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/memcache/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/monitoring/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/monitoring/v3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/networkmanagement/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/networksecurity/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/osconfig/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/osconfig/v1alpha/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/osconfig/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/oslogin/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/oslogin/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/policytroubleshooter/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/policytroubleshooter/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/privateca/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/pubsub/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/pubsub/v1beta1a/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/pubsub/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/recommender/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/redis/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/redis/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/run/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/run/v1alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/run/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/runtimeconfig/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/secretmanager/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/securitycenter/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/securitycenter/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/securitycenter/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/securitycenter/v1p1alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/serviceconsumermanagement/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/servicecontrol/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/servicecontrol/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/servicedirectory/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/servicenetworking/v1beta/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/serviceusage/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/speech/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/speech/v1p1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/speech/v2beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/tagmanager/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/texttospeech/v1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/tpu/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/tpu/v1alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/tpu/v2alpha1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/translate/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/translate/v3beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/verifiedaccess/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/verifiedaccess/v2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/videointelligence/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/videointelligence/v1beta2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/videointelligence/v1p1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/videointelligence/v1p3beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/vision/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/vision/v1p1beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/vision/v1p2beta1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/websecurityscanner/v1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/googleapis.com/websecurityscanner/v1beta/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_17: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_17 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F here" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F here) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/amentum.space/atmosphere/1.1.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/here.com/positioning/2.1.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/here.com/tracking/2.1.58/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_18: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_18 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F interzoid" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F interzoid) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |
suite_19: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_19 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F loket" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F loket) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/loket.nl/V2/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_20: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_20 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F microsoft" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F microsoft) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-ComputerVision/2.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-ComputerVision/2.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Ocr/2.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Ocr/2.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Prediction/2.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Prediction/3.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/2.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/2.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/2.2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/3.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/3.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/microsoft.com/cognitiveservices-Training/3.2/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_21: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_21 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F nexmo" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F nexmo) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/account/1.0.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/audit/1.0.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/conversation.v2/1.0.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/conversation/2.0.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/dispatch/0.3.4/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/messages-olympus/1.2.3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/number-insight/1.2.1/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/reports/2.2.2/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/subaccounts/1.0.8/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/verify/1.2.3/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/nexmo.com/voice/1.3.8/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_22: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_22 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F pandascore" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F pandascore) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/pandascore.co/2.23.1/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_23: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_23 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F sportsdata" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F sportsdata) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/sportsdata.io/mlb-v3-rotoballer-articles/1.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_24: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_24 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F stripe" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F stripe) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/stripe.com/2020-08-27/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_25: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_25 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F telnyx" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F telnyx) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/telnyx.com/2.0.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_26: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_26 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F twilio" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F twilio) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/api/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_chat_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_chat_v2/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_chat_v3/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_conversations_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_insights_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_ip_messaging_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_ip_messaging_v2/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_media_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_messaging_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_numbers_v2/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_preview/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_supersim_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_sync_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_taskrouter_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_trusthub_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_verify_v2/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_video_v1/1.36.0/openapi.yaml | |
APIs-guru-openapi-directory-2267738/APIs/twilio.com/twilio_wireless_v1/1.36.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_27: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_27 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F zoom" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F zoom) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/zoom.us/2.0.0/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_28: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_28 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F zuora" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -F zuora) | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
APIs-guru-openapi-directory-2267738/APIs/zuora.com/2021-08-20/openapi.yaml | |
EO_ | |
diff -u __ _ | |
suite_29: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO111MODULE: 'on' | |
CGO_ENABLED: '0' | |
strategy: | |
matrix: | |
go: ['1.x'] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
name: suite_29 on ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- run: echo ${{ steps.go-cache-paths.outputs.go-build }} | |
- run: echo ${{ steps.go-cache-paths.outputs.go-mod }} | |
- name: Go Build Cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache (go>=1.15) | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ matrix.go }}-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/checkout@v2 | |
- name: Test suite fixtures cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
APIs-guru-openapi-directory-* | |
OAI-OpenAPI-Specification-* | |
key: ${{ runner.os }}-go-${{ matrix.go }}-suite-${{ hashFiles('.github/workflows/suite.sh') }} | |
- name: Maybe fetch fixtures | |
run: | | |
if ! [[ -d OAI-OpenAPI-Specification-157a4c8/examples ]]; then | |
curl -fSLo OAI-OpenAPI-Specification.tar.gz https://github.com/OAI/OpenAPI-Specification/tarball/"157a4c81ae537ef793b2bee368bc00d88b461de8" | |
tar zxf OAI-OpenAPI-Specification.tar.gz | |
rm OAI-OpenAPI-Specification.tar.gz | |
ls -lha OAI-OpenAPI-Specification-157a4c8/examples | |
fi | |
if ! [[ -d APIs-guru-openapi-directory-2267738/APIs ]]; then | |
curl -fSLo APIs-guru-openapi-directory.tar.gz https://github.com/APIs-guru/openapi-directory/tarball/"226773819e337e6c413d1be91b26b33111211768" | |
tar zxf APIs-guru-openapi-directory.tar.gz | |
rm APIs-guru-openapi-directory.tar.gz | |
ls -lha APIs-guru-openapi-directory-2267738/APIs | |
fi | |
- name: Ignore documents that are too large / take too long | |
run: | | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/beta/openapi.yaml # >30MB | |
rm -f APIs-guru-openapi-directory-2267738/APIs/microsoft.com/graph/v1.0/openapi.yaml # >15MB | |
- name: Build the tool | |
run: go build -o . ./cmd/validate | |
- name: "find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -vE '|adyen|amazonaws|apideck|apisetu|docusign|dracoon|ebay|github|google|here|interzoid|loket|microsoft|nexmo|pandascore|sportsdata|stripe|telnyx|twilio|zoom|zuora'" | |
run: | | |
set -x | |
touch _ | |
while read -r file; do | |
time ./validate -n 99 --patterns=false "$file" || echo "$file" >>_ | |
done < <(find APIs-guru-openapi-directory-2267738/APIs -type f -name openapi.yaml | sort | grep -vE '|adyen|amazonaws|apideck|apisetu|docusign|dracoon|ebay|github|google|here|interzoid|loket|microsoft|nexmo|pandascore|sportsdata|stripe|telnyx|twilio|zoom|zuora') | |
- name: Compare with expected results | |
run: | | |
cat >__ <<EO_ | |
EO_ | |
diff -u __ _ | |