fix: remove replace directive, use github.com/oasdiff/kin-openapi v0.136.0 (#810)#811
Merged
reuvenharrison merged 1 commit intomainfrom Mar 16, 2026
Merged
Conversation
Removes the replace directive that was blocking go install (#810). The oasdiff fork is now published under its own module path github.com/oasdiff/kin-openapi, including fixes for #806 and #808. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #811 +/- ##
=======================================
Coverage 89.28% 89.28%
=======================================
Files 240 240
Lines 12715 12715
=======================================
Hits 11352 11352
Misses 907 907
Partials 456 456
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go install github.com/oasdiff/oasdiff@latestwas failing becausereplacedirectives are not allowed in non-main modulesgithub.com/getkin/kin-openapi(with replace directive) withgithub.com/oasdiff/kin-openapi v0.136.0directlyoasdiff/kin-openapi v0.136.0includes all fixes from False positive diffs on identical files since version 1.12.0 #806, panic: runtime error: index out of range [0] with length 0 [recovered, repanicked] #808, and the module renameTest plan
replacedirective ingo.mod🤖 Generated with Claude Code