File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 110
110
{
111
111
"Pattern" : " /v1/users/*" ,
112
112
"Rationale" : " avatar_url in usersResponse is invalid"
113
+ },
114
+ {
115
+ "Pattern" : " /v1/pages/*" ,
116
+ "Rationale" : " code in pageResponse is invalid"
113
117
}
114
118
]
115
119
},
135
139
"Pattern" : " /permissionSets/**" ,
136
140
"Rationale" : " error 404 is invalid"
137
141
}
142
+ ],
143
+ "Suppressions" : [
144
+ {
145
+ "Language" : " all" ,
146
+ "Rationale" : " https://github.com/microsoft/kiota/issues/2367"
147
+ }
138
148
]
139
149
},
140
150
"https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/twilio.com/api/1.39.1/openapi.yaml" : {
191
201
"Pattern" : " /2010-04-01/Accounts/*/Calls/*/Payments.json" ,
192
202
"Rationale" : " Parameter is invalid"
193
203
}
204
+ ],
205
+ "Suppressions" : [
206
+ {
207
+ "Language" : " csharp" ,
208
+ "Rationale" : " https://github.com/microsoft/kiota/issues/2369"
209
+ }
210
+ ]
211
+ },
212
+ "https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/stripe.com/2022-11-15/openapi.yaml" : {
213
+ "Suppressions" : [
214
+ {
215
+ "Language" : " all" ,
216
+ "Rationale" : " https://github.com/microsoft/kiota/issues/2367"
217
+ }
218
+ ]
219
+ },
220
+ "https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/meraki.com/v1.31.0/openapi.yaml" : {
221
+ "Suppressions" : [
222
+ {
223
+ "Language" : " all" ,
224
+ "Rationale" : " https://github.com/microsoft/kiota/issues/2368"
225
+ }
226
+ ]
227
+ },
228
+ "https://api.apis.guru/v2/specs/docusign.net/v2.1/openapi.yaml" : {
229
+ "Suppressions" : [
230
+ {
231
+ "Language" : " csharp" ,
232
+ "Rationale" : " https://github.com/microsoft/kiota/issues/2369"
233
+ }
194
234
]
195
235
}
196
236
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ $descriptionValue = $jsonValue.psobject.properties.Where({ $_.name -eq $descript
20
20
21
21
if ($null -ne $descriptionValue ) {
22
22
if ($descriptionValue.PSObject.Properties.Name -contains " Suppressions" ) {
23
- $languageInformation = $descriptionValue.Suppressions | Where-Object { $_.Language -eq $language } | Select-Object - First 1
23
+ $languageInformation = $descriptionValue.Suppressions | Where-Object { $_.Language -eq $language -or $_ .Language -eq " all " } | Select-Object - First 1
24
24
if ($null -ne $languageInformation ) {
25
25
Write-Warning " Suppressed $descriptionUrl for $language , rationale: $ ( $languageInformation.Rationale ) "
26
26
return $true
You can’t perform that action at this time.
0 commit comments