Skip to content

Commit 81a2d23

Browse files
fix
1 parent 9a1e37c commit 81a2d23

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tools/spectral/ipa/__tests__/eachPathAlternatesBetweenResourceNameAndPathParam.test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,37 +105,37 @@ testRule('xgen-IPA-102-path-alternate-resource-name-path-param', [
105105
errors: [
106106
{
107107
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
108-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
108+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
109109
path: ['paths', '/api/atlas/v2/resourceName1/resourceName2'],
110110
severity: DiagnosticSeverity.Warning,
111111
},
112112
{
113113
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
114-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
114+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
115115
path: ['paths', '/api/atlas/v2/resourceName/{pathParam1}/{pathParam2}'],
116116
severity: DiagnosticSeverity.Warning,
117117
},
118118
{
119119
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
120-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
120+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
121121
path: ['paths', '/api/atlas/v2/resourceName1/{pathParam1}/resourceName2/resourceName3'],
122122
severity: DiagnosticSeverity.Warning,
123123
},
124124
{
125125
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
126-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
126+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
127127
path: ['paths', '/api/atlas/v2/resourceName1/{pathParam1}/resourceName2/{pathParam2}/{pathParam3}'],
128128
severity: DiagnosticSeverity.Warning,
129129
},
130130
{
131131
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
132-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
132+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
133133
path: ['paths', '/api/atlas/v2/{pathParam}'],
134134
severity: DiagnosticSeverity.Warning,
135135
},
136136
{
137137
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
138-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
138+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
139139
path: ['paths', '/api/atlas/v2/{pathParam1}/{pathParam2}'],
140140
severity: DiagnosticSeverity.Warning,
141141
},
@@ -174,37 +174,37 @@ testRule('xgen-IPA-102-path-alternate-resource-name-path-param', [
174174
errors: [
175175
{
176176
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
177-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
177+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
178178
path: ['paths', '/api/atlas/v2/unauth/resourceName1/resourceName2'],
179179
severity: DiagnosticSeverity.Warning,
180180
},
181181
{
182182
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
183-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
183+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
184184
path: ['paths', '/api/atlas/v2/unauth/resourceName/{pathParam1}/{pathParam2}'],
185185
severity: DiagnosticSeverity.Warning,
186186
},
187187
{
188188
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
189-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
189+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
190190
path: ['paths', '/api/atlas/v2/unauth/resourceName1/{pathParam1}/resourceName2/resourceName3'],
191191
severity: DiagnosticSeverity.Warning,
192192
},
193193
{
194194
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
195-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
195+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
196196
path: ['paths', '/api/atlas/v2/unauth/resourceName1/{pathParam1}/resourceName2/{pathParam2}/{pathParam3}'],
197197
severity: DiagnosticSeverity.Warning,
198198
},
199199
{
200200
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
201-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
201+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
202202
path: ['paths', '/api/atlas/v2/unauth/{pathParam}'],
203203
severity: DiagnosticSeverity.Warning,
204204
},
205205
{
206206
code: 'xgen-IPA-102-path-alternate-resource-name-path-param',
207-
message: 'API paths must alternate between resource name and path params. http://go/ipa/117',
207+
message: 'API paths must alternate between resource name and path params. http://go/ipa/102',
208208
path: ['paths', '/api/atlas/v2/unauth/{pathParam1}/{pathParam2}'],
209209
severity: DiagnosticSeverity.Warning,
210210
},

0 commit comments

Comments
 (0)