Skip to content

Supported

Schema formats

drift-guard can diff any two schema files of these types:

FormatCommandFile types
OpenAPI 3.xopenapi.yaml, .json
GraphQL SDLgraphql.graphql, .gql
Protobufgrpc.proto

Auto-detection (compare)

drift-guard compare auto-detects your project type and generates schemas automatically.

Node.js

FrameworkREST (OpenAPI)GraphQLgRPC
ExpressYesYesYes
NestJSYesYesYes

Go

Detected by go.mod, legacy manifests (Gopkg.toml, glide.yaml), or .go files in the project root. The specific framework (Gin, Echo, Fiber, Chi, Gorilla Mux) is identified from the module graph and shown at startup.

FrameworkREST (OpenAPI)GraphQLgRPC
GinYes (requires swag annotations)YesYes
EchoYesYesYes
FiberYesYesYes
ChiYesYesYes
Gorilla MuxYesYesYes
plain GoYesYesYes

More languages and frameworks coming soon.

Released under the MIT License.