Replies: 2 comments 8 replies
|
I was wondering if it'ss a known hey-api issue, and LLM found these :
I'm still trying to get a hold of it but it seems that the OpenAPI spec is missing how to manage a nested array parameter. |
2 replies
|
I haven't though this through, but maybe it could make things easier if even for the post endpoint we stick with the URL params for all the normal options and just transmit the offsets in the post body? |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello @felixguendling,
Following our discussion in #1547 , i tested OpenAPI native way to share one definition (GET with a style: form, explode: true object parameter + POST body with a $ref to the same schema). It validates, but hey-api breaks : types get nested under the wrapper name, objects are serialized as deepObject regardless of the declared style, and array properties throw. So it breaks the ts client.
I see two options :
All reactions