Skip to content

Commit 76d92c7

Browse files
fix: update kin-openapi dependency for mcp server (#1229)
1 parent 979076e commit 76d92c7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tools/mcp-server/internal/resources/alias.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"encoding/json"
55
"fmt"
66

7+
"github.com/getkin/kin-openapi/openapi3"
78
"github.com/modelcontextprotocol/go-sdk/mcp"
89
"github.com/mongodb/openapi/tools/cli/pkg/apiversion"
910
"github.com/mongodb/openapi/tools/cli/pkg/openapi"
1011
"github.com/mongodb/openapi/tools/mcp-server/internal/registry"
11-
"github.com/oasdiff/kin-openapi/openapi3"
1212
)
1313

1414
// SpecStats holds counts of the spec's top-level components.

tools/mcp-server/internal/resources/specs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"encoding/json"
55
"testing"
66

7+
"github.com/getkin/kin-openapi/openapi3"
78
"github.com/mongodb/openapi/tools/mcp-server/internal/registry"
8-
"github.com/oasdiff/kin-openapi/openapi3"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

tools/mcp-server/internal/resources/testhelper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package resources
33
import (
44
"testing"
55

6+
"github.com/getkin/kin-openapi/openapi3"
67
"github.com/modelcontextprotocol/go-sdk/mcp"
78
"github.com/mongodb/openapi/tools/mcp-server/internal/registry"
8-
"github.com/oasdiff/kin-openapi/openapi3"
99
)
1010

1111
// makeRequest builds a ReadResourceRequest for the given URI.

0 commit comments

Comments
 (0)