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
To make matters more confusing, :200 does work for Swagger schema emission. It's just coercion that expects strictly a 200 and ignores :200. It also happily accepts other invalid keys like :foo, 'bar, [1 2 3], etc.
I'd appreciate a stricter validation here - especially as it's a fairly crititical part of any Reitit-based system.
Thanks - V
The text was updated successfully, but these errors were encountered:
I had been mistakenly using the following:
Where the mistake was using
:200
instead of200
.To make matters more confusing, :200 does work for Swagger schema emission. It's just coercion that expects strictly a 200 and ignores :200. It also happily accepts other invalid keys like
:foo
,'bar
,[1 2 3]
, etc.I'd appreciate a stricter validation here - especially as it's a fairly crititical part of any Reitit-based system.
Thanks - V
The text was updated successfully, but these errors were encountered: