Skip to content

Commit 394bc85

Browse files
committed
task: change plural form in docs
1 parent 0e59926 commit 394bc85

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tools/spectral/ipa/rulesets/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Below is a list of all available rules, their descriptions and severity levels.
1010

1111
### IPA-005
1212

13-
Rule is based on [http://go/ipa/IPA-5](http://go/ipa/IPA-5).
13+
Rules are based on [http://go/ipa/IPA-5](http://go/ipa/IPA-5).
1414

1515
#### xgen-IPA-005-exception-extension-format
1616

@@ -27,7 +27,7 @@ Rule checks for the following conditions:
2727

2828
### IPA-102
2929

30-
Rule is based on [http://go/ipa/IPA-102](http://go/ipa/IPA-102).
30+
Rules are based on [http://go/ipa/IPA-102](http://go/ipa/IPA-102).
3131

3232
#### xgen-IPA-102-path-alternate-resource-name-path-param
3333

@@ -76,7 +76,7 @@ Rule checks for the following conditions:
7676

7777
### IPA-104
7878

79-
Rule is based on [http://go/ipa/IPA-104](http://go/ipa/IPA-104).
79+
Rules are based on [http://go/ipa/IPA-104](http://go/ipa/IPA-104).
8080

8181
#### xgen-IPA-104-resource-has-GET
8282

@@ -147,7 +147,7 @@ Rule checks for the following conditions:
147147

148148
### IPA-105
149149

150-
Rule is based on [http://go/ipa/IPA-105](http://go/ipa/IPA-105).
150+
Rules are based on [http://go/ipa/IPA-105](http://go/ipa/IPA-105).
151151

152152
#### xgen-IPA-105-list-method-response-code-is-200
153153

@@ -178,7 +178,7 @@ Validation checks that the List method 200 OK response contains items property w
178178

179179
### IPA-106
180180

181-
Rule is based on [http://go/ipa/IPA-106](http://go/ipa/IPA-106).
181+
Rules are based on [http://go/ipa/IPA-106](http://go/ipa/IPA-106).
182182

183183
#### xgen-IPA-106-create-method-request-body-is-request-suffixed-object
184184

@@ -228,7 +228,7 @@ Validation checks that the Create method 201 Created response contains reference
228228

229229
### IPA-107
230230

231-
Rule is based on [http://go/ipa/IPA-107](http://go/ipa/IPA-107).
231+
Rules are based on [http://go/ipa/IPA-107](http://go/ipa/IPA-107).
232232

233233
#### xgen-IPA-107-put-must-not-have-query-params
234234

@@ -268,7 +268,7 @@ Validation checks the PATCH method for single resource paths and [singleton reso
268268

269269
### IPA-108
270270

271-
Rule is based on [http://go/ipa/IPA-108](http://go/ipa/IPA-108).
271+
Rules are based on [http://go/ipa/IPA-108](http://go/ipa/IPA-108).
272272

273273
#### xgen-IPA-108-delete-response-should-be-empty
274274

@@ -290,7 +290,7 @@ DELETE method must not have request body.
290290

291291
### IPA-109
292292

293-
Rule is based on [http://go/ipa/IPA-109](http://go/ipa/IPA-109).
293+
Rules are based on [http://go/ipa/IPA-109](http://go/ipa/IPA-109).
294294

295295
#### xgen-IPA-109-custom-method-must-be-GET-or-POST
296296

@@ -304,7 +304,7 @@ The custom method must use camelCase format.
304304

305305
### IPA-113
306306

307-
Rule is based on [http://go/ipa/IPA-113](http://go/ipa/IPA-113).
307+
Rules are based on [http://go/ipa/IPA-113](http://go/ipa/IPA-113).
308308

309309
#### xgen-IPA-113-singleton-must-not-have-id
310310

@@ -314,7 +314,7 @@ Singleton resources must not have a user-provided or system-generated ID.
314314

315315
### IPA-123
316316

317-
Rule is based on [http://go/ipa/IPA-123](http://go/ipa/IPA-123).
317+
Rules are based on [http://go/ipa/IPA-123](http://go/ipa/IPA-123).
318318

319319
#### xgen-IPA-123-enum-values-must-be-upper-snake-case
320320

tools/spectral/ipa/scripts/generateRulesetReadme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function getRulesetsSection() {
3434
ipaNumbers.forEach((ipaNumber) => {
3535
const ipaRules = filterRulesByIpaNumber(ipaNumber, rules);
3636
const sections = generateRulesetSections(ipaRules);
37-
content += `### ${ipaNumber}\n\n` + `Rule is based on ${getIpaRulesetUrl(ipaNumber)}.\n\n` + `${sections}\n\n`;
37+
content += `### ${ipaNumber}\n\n` + `Rules are based on ${getIpaRulesetUrl(ipaNumber)}.\n\n` + `${sections}\n\n`;
3838
});
3939

4040
return content;

0 commit comments

Comments
 (0)