You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Patterned (4XX) HTTP Status Codes not respected #1271
Describe the bug Documentation indicates that patterned HTTP status codes may be used for Response Objects. Supply a patterened HTTP status code in this manner results in the following warning: Invalid response status code 4XX (not a valid HTTP status code), response will be omitted from generated client
Additional context
I believe the root cause here is this int conversion of the status code. This obviously won't work with a patterned HTTP status code like 4XX.
Reacted by Ethan J. Musser and obs-gh-peterkolloch
Activity
feat(parser): openapi-generators#1271 Support simple patterned http s…
feat(parser): #1271 Support simple patterned http status codes
feat(parser): #1271 Support simple patterned http status codes
feat(parser): #1271 Support simple patterned http status codes
Release 0.26.0 (#1306)
Support patterned and default HTTP status codes (openapi-generators#1303