fix: switch to oasdiff/kin-openapi, restore embed import

SDK diff.go used getkin/kin-openapi but oasdiff v1.12+ uses its own
fork. Switched import to match. Restores full CLI binary compilation.

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-17 02:28:07 +00:00
parent 9c609a526c
commit 4c63d30a24
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
package buildcmd
import (
"embed"
"forge.lthn.ai/core/cli/pkg/cli"
"forge.lthn.ai/core/go-build/locales"
"forge.lthn.ai/core/go-i18n"

View file

@ -4,7 +4,7 @@ import (
"fmt"
coreerr "forge.lthn.ai/core/go-log"
"github.com/getkin/kin-openapi/openapi3"
"github.com/oasdiff/kin-openapi/openapi3"
"github.com/oasdiff/oasdiff/checker"
"github.com/oasdiff/oasdiff/diff"
"github.com/oasdiff/oasdiff/load"