Skip to content

Instantly share code, notes, and snippets.

@tervay
Created June 26, 2024 22:51
Show Gist options
  • Save tervay/f36494e7d7d169ad4fd18a2d92422374 to your computer and use it in GitHub Desktop.
Save tervay/f36494e7d7d169ad4fd18a2d92422374 to your computer and use it in GitHub Desktop.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment