forked from trpc/trpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
10 lines (10 loc) · 835 Bytes
/
Copy path.coderabbit.yaml
File metadata and controls
10 lines (10 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
reviews:
path_instructions:
- path: 'packages/openapi/test/routers/**'
instructions: |
- *.ts files should contain valid tRPC routers, and types. They are written to drive codegen for testing purposes
- *.json files are generated by the code under test, they should be valid and correct OpenAPI 3.1+ JSON docs
- */ directories are generated clients from the OpenAPI *.json files, they should only be reviewed with respect to correct generation. Types should match the tRPC router types, but code is not expected to meet this repo's standards for linting or formatting.
- path: 'examples/openapi-codegen/src/client/generated/**'
instructions: |
- this directory should be treated the same as `packages/openapi/test/routers/*/` - it is generated for example and e2e testing purposes