Skip to content

Commit

Permalink
feat: Add postman validation to FOAS Release (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaangiolillo authored Jul 23, 2024
1 parent 7798d40 commit 255dbb2
Show file tree
Hide file tree
Showing 2 changed files with 66,116 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release-spec-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
env:
SPECTRAL_VERSION: ${{ vars.SPECTRAL_VERSION }}
run: npx -- @stoplight/spectral-cli@"${SPECTRAL_VERSION}" lint ./tools/cli/test/data/openapi-foas*.{yml,yaml} --ruleset=.spectral.yaml # we will update this to lint the FOAS in CLOUDP-263186
- name: Validate the FOAS can be used to generate Postman collection
run: |
cp -rf "./tools/cli/test/data/openapi-foas-dev.json" "./tools/postman/openapi/atlas-api.json"
pushd tools/postman
make convert_to_collection
popd
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
Expand Down
Loading

0 comments on commit 255dbb2

Please sign in to comment.