Skip to content

Commit 394e721

Browse files
fixes
1 parent b0cc889 commit 394e721

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/spectral-lint.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
sparse-checkout: |
3030
openapi/
3131
tools/spectral
32+
- name: Setup Node
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: '20.x'
36+
cache: 'npm'
37+
- name: Install npm dependencies
38+
run: npm install
3239
- name: Spectral action
3340
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
3441
with:

tools/spectral/ipa/rulesets/IPA-106.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IPA-104: Create
1+
# IPA-106: Create
22
# http://go/ipa/106
33

44
functions:

tools/spectral/ipa/rulesets/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ For rule definitions, see [IPA-106.yaml](https://github.com/mongodb/openapi/blob
4343
| ------------------------------------------------------------------ | -------------------------------------------------------------------------------- | -------- |
4444
| xgen-IPA-106-create-method-request-body-is-request-suffixed-object | The Create method request should be a Request suffixed object. http://go/ipa/106 | warn |
4545
| xgen-IPA-106-create-method-should-not-have-query-parameters | Create operations should not use query parameters. http://go/ipa/xxx | warn |
46+
| xgen-IPA-106-create-method-request-body-is-get-method-response | The Create method request should be a Get method response. http://go/ipa/106 | warn |
4647

4748
### IPA-109
4849

0 commit comments

Comments
 (0)