Repo | Maintained | Stars | fetch | Tanstack Query | path qualifier* | Notes |
---|---|---|---|---|---|---|
openapi-ts/openapi-typescript | ✓ | 4900 | ✓ | X | ✓ | |
ferdikoomen/openapi-typescript-codegen | X | 2800 | ✓ | X | X | |
hey-api/openapi-ts | ✓ | 600 | ✓ | ⚠ | X/✓ | Query in progress; path not present on legacy |
7nohe/openapi-react-query-codegen | ✓ | 200 | ✓ | ✓ | X | Built on hey-api |
fabien0102/openapi-codegen | ✓ | 450 | ✓ | ✓ | ✓ | |
anymaniax/orval | ⚠ | 2500 | ✓ | ✓ | X | |
rametta/rapini | ✓ | 150 | ✓ | ✓ | ? | Doesn't work lol |
oazapfts/oazapfts | ✓ | 500 | ✓ | ⚠ | X | Query w/ 3rd party plugin |
- Sometimes the clients will make you specify a path parameter, sometimes they won't. For example, compare these two approaches:
const team = await getTeam({teamKey: "frc5254"});
// vs
const team = await getTeam({path: {teamKey: "frc5254"}});
Since all TBA parameters are path parameters, being able to skip specifying this every time would be nice.