Commit 2c32c5f
committed
fix(operation): recognize wildcard HTTP status codes as documented responses
When a response like 4XX is defined in the spec, individual status codes
within that range (e.g. 401, 404) should not be marked as "Undocumented".
The existing check only matched exact status code strings and "default".
This adds a fallback check for range patterns (1XX, 2XX, 3XX, 4XX, 5XX)
per the OpenAPI specification.
Fixes #61751 parent 3608eaa commit 2c32c5f
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
0 commit comments