-
-
Notifications
You must be signed in to change notification settings - Fork 10
Comparing changes
Open a pull request
base repository: oapi-codegen/echo-middleware
base: build-lint
head repository: oapi-codegen/echo-middleware
compare: main
- 10 commits
- 14 files changed
- 6 contributors
Commits on Feb 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for e81f4c5 - Browse repository at this point
Copy the full SHA e81f4c5View commit details -
Modernize + make more consistent with net/http (#38)
* fix: return HTTP 405 when request method mismatch When a route is correctly matched, but the HTTP method used does not, we should return an HTTP 405 Method Not Allowed. However, in our previous implementation, we would always return an HTTP 404 Not Found, which is incorrect. Instead, we can match on whether we have received an `ErrMethodNotAllowed` and if so, return the correct HTTP 405. * chore: remove references to Swagger As it's been OpenAPI for a while. Related: https://togithub.com/oapi-codegen/oapi-codegen/issues/672 * style: use `any` over `interface{}` * chore: use new organization URL * chore: remove outdated licensing comments The code at the time was still copyright to DeepMap, but since the move, is updated to the oapi-codegen contributors. * docs: add package documentation * docs: improve comments for exported types * docs: add example test As a means to provide a full example of usage, we can use a testable example. * docs: rewrite README * feat: allow not validating `Servers` at all As some folks may not want to perform the workaround of having to mangle their `spec.Servers`, as well as removing potentially noisy log lines. * build: build against recent Go versions * build: indicate which versions of Go are supported vs "supported" But we won't really indicate /what/ "supported" means at this time.
Configuration menu - View commit details
-
Copy full SHA for ce13011 - Browse repository at this point
Copy the full SHA ce13011View commit details -
feat: add Prefix option for sub-path mounted APIs (#42)
Add a Prefix field to Options that strips a path prefix before OpenAPI validation. This allows APIs mounted under a sub-path (e.g. "/api") to validate correctly against specs whose paths don't include the prefix. The request is cloned before modification so downstream handlers still see the original path. Closes #11 Supersedes #15 Co-authored-by: GreyXor <greyxor@protonmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for f3f6b0c - Browse repository at this point
Copy the full SHA f3f6b0cView commit details -
fix: unescape URL-encoded path params before OpenAPI validation (#43)
gorillamux uses UseEncodedPath(), so FindRoute() returns path parameters in percent-encoded form. openapi3filter expects decoded values, which causes validation of constraints like maxLength and pattern to fail on encoded input (e.g. %2B is 3 chars but decodes to 1 char). Unescape path parameters after route matching and before passing them to openapi3filter. Fixes #17 Supersedes #18 Co-authored-by: Florent CHAUVEAU <florentch@pm.me> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for b5a3ece - Browse repository at this point
Copy the full SHA b5a3eceView commit details
Commits on Jun 1, 2026
-
chore: Update Go to 1.24 and update CI (#47)
- Update go.mod to require Go 1.24.4 - Update direct dependencies: kin-openapi to v0.134.0, echo/v4 to v4.15.1, testify to v1.11.1 - Replace individual CI workflow files (generate, lint, tidy) with the shared oapi-codegen/actions reusable workflow - Add Renovate Go 1.24 constraint to prevent dependency updates requiring newer Go versions Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 24c48ee - Browse repository at this point
Copy the full SHA 24c48eeView commit details
Commits on Jul 19, 2026
-
OpenAPI 3.1 support in kin-openapi (#56)
Update Go to 1.25 and all related dependencies, so that we can use an OpenAPI 3.1 version of kin-openapi.
Configuration menu - View commit details
-
Copy full SHA for 347c9c9 - Browse repository at this point
Copy the full SHA 347c9c9View commit details -
chore(deps): update release-drafter/release-drafter action to v7 (#55)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9c03be1 - Browse repository at this point
Copy the full SHA 9c03be1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6006233 - Browse repository at this point
Copy the full SHA 6006233View commit details -
chore(deps): update oapi-codegen/actions action to v0.8.0 (#54)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 128f801 - Browse repository at this point
Copy the full SHA 128f801View commit details
Commits on Jul 22, 2026
-
fix(deps): update module github.com/getkin/kin-openapi to v0.143.0 (#59)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 94bcdda - Browse repository at this point
Copy the full SHA 94bcddaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff build-lint...main