计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
rest-to-graphql【效率与协作】Convert REST API routes to a GraphQL schema. Use when migrating APIs or adding a GraphQL layer.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Got a REST API and want GraphQL? Point this at your routes and get a complete schema with types, queries, and mutations. No manual translation required.
One command. Zero config. Just works.
npx ai-rest-to-graphql ./src/routes
# Convert routes directory
npx ai-rest-to-graphql ./src/routes
# Single resource
npx ai-rest-to-graphql ./src/routes/users.ts
# Include resolver implementations
npx ai-rest-to-graphql ./src/routes --with-resolvers
# Output to specific file
npx ai-rest-to-graphql ./src/routes -o ./schema.graphql
# Keep REST as datasource
npx ai-rest-to-graphql ./src/routes --wrap-rest
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended.
npx ai-rest-to-graphql --help
The tool parses your REST route definitions to understand your resources and operations. It maps GET endpoints to queries, POST/PUT/DELETE to mutations, and infers type structures from your request/response patterns.
MIT. Free forever. Use it however you want.