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
The text was updated successfully, but these errors were encountered:
strowk
changed the title
Return status 405 when router error was MethodNotAllowed
Return status 405 when router error was ErrMethodNotAllowed
Jan 30, 2024
florentchauveau
added a commit
to florentchauveau/echo-middleware
that referenced
this issue
Jan 5, 2025
I think it could be convenient impovement here. Currently 404 is coded for all router errors.
See example how it is done in another lib:
https://github.com/getkin/kin-openapi/blob/529285c16a9d45f7f908c1d61e67abcc070d192f/openapi3filter/validation_error_encoder.go#L55-L57
Place to put it here:
echo-middleware/oapi_validate.go
Lines 119 to 122 in b1361c4
The text was updated successfully, but these errors were encountered: