GraphQL Code Generator – GraphQL Schema
GraphQL Code Generator is a CLI tool from The Guild that generates TypeScript types, React hooks, resolvers, and SDKs from GraphQL schemas and operations. It has a plugin-based architecture with 50+ community and built-in plugins.
Overview
GraphQL Code Generator – GraphQL Schema is a GraphQL API specification published by The Guild on the APIs.io network.
GraphQL Code Generator is a CLI tool from The Guild that generates TypeScript types, React hooks, resolvers, and SDKs from GraphQL schemas and operations. It has a plugin-based architecture with 50+ community and built-in plugins.
The specification includes 7 reference links.
Tagged areas include API Composition, API Gateway, API Observability, Breaking Change Detection, and CI/CD.
Endpoint
References
- Docs home https://the-guild.dev/graphql/codegen/docs
- Config reference https://the-guild.dev/graphql/codegen/docs/config-reference/codegen-config
- Schema field https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field
- Plugins index https://the-guild.dev/graphql/codegen/docs/plugins
- TypeScript plugin https://the-guild.dev/graphql/codegen/plugins/typescript/typescript
- TypeScript resolvers plugin https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-resolvers
- Lifecycle hooks https://the-guild.dev/graphql/codegen/docs/config-reference/lifecycle-hooks
Related API Specs
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.