Skip to content

Commit 94e821f

Browse files
committed
update
1 parent 8828215 commit 94e821f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/release-IPA-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: npm install
3434

3535
- name: Fetch OAS file from Dev Branch
36-
run: curl -O "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/v2.json"
36+
run: curl -O "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.json"
3737
working-directory: ${{ github.workspace }}
3838

3939
- name: Run Metric Collection Job

.github/workflows/spectral-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
- name: Spectral action
3333
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
3434
with:
35-
# Path to the OpenAPI spec files and openapi/v2.yaml
35+
# Path to the OpenAPI spec files and openapi/.raw/v2.yaml
3636
file_glob: openapi/.raw/v2.yaml
3737
spectral_ruleset: tools/spectral/.spectral.yaml #If updated, need to update in MMS too.
3838
- name: IPA validation action
3939
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
4040
with:
41-
file_glob: openapi/v2.yaml
41+
file_glob: openapi/.raw/v2.yaml
4242
spectral_ruleset: tools/spectral/ipa/ipa-spectral.yaml

openapi/.raw/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Raw / Unfiltered OAS
2+
3+
The OAS stored in this folder is only useable for linting and tools that require `x-xgen` type of extensions. To leverage the already applied filters, use [v2.yaml](https://github.com/mongodb/openapi/blob/main/openapi/v2.yaml) or [v2.json](https://github.com/mongodb/openapi/blob/main/openapi/v2.json)

0 commit comments

Comments
 (0)