-
Notifications
You must be signed in to change notification settings - Fork 3
feat(suggest): add API technology detection — GraphQL, gRPC, tRPC, OpenAPI #301
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Context
No API technology is currently detected. GraphQL, gRPC, tRPC, and OpenAPI/Swagger are all widely used.
Technologies to Add
| Technology | Detection Method | Details |
|---|---|---|
| GraphQL | packages | graphql, @apollo/client, @apollo/server, urql, graphql-yoga |
| GraphQL | config_files | .graphqlrc, .graphqlrc.{json,yaml,yml} |
| GraphQL | file_extensions | .graphql, .gql |
| gRPC | packages | @grpc/grpc-js, grpc |
| gRPC | file_extensions | .proto |
| tRPC | packages | @trpc/server, @trpc/client, @trpc/react-query |
| OpenAPI | config_files | openapi.yaml, openapi.json, swagger.yaml, swagger.json |
| OpenAPI | packages | swagger-ui-express, @nestjs/swagger |
Implementation
- Catalog-only changes
- Mix of
packages,config_files, andfile_extensions
Acceptance Criteria
- GraphQL detected in projects with GraphQL deps or
.graphqlfiles - tRPC detected in projects with tRPC packages
-
cargo test suggestpasses
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request