Commit 5b7d100
committed
[OpenApi] Use GetCustomAttributes<T>
Use `GetCustomAttributes<T>()` instead of `GetCustomAttributes().OfType<ValidationAttribute>()` to avoid need to use LINQ.1 parent 02125bd commit 5b7d100
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments