orval-labs / orval

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
https://orval.dev
MIT License
3.18k stars 336 forks source link

Fix custom client example to include a question mark before query parameters #1667

Closed dob9601 closed 1 month ago

dob9601 commented 1 month ago

Status

READY

Description

Fix the custom fetch client example to include a question mark before any query parameters.

Closes https://github.com/orval-labs/orval/issues/1666 Closes https://github.com/orval-labs/orval/issues/482

melloware commented 1 month ago

You might have to run NPM run format.

dob9601 commented 1 month ago

Good shout - all formatted

melloware commented 1 month ago

Thanks for the fix!