Skip to content

Commit 6e36bfb

Browse files
test: add parameter roundtrip test infrastructure
Add a full client/server roundtrip test for all parameter styles, locations, and explode combinations. The test generates a client and std-http server from a shared spec, sends requests through the generated client, and verifies the server echoes back the correct values. NOTE: Tests do not compile in this commit. Known blocking issues: - BindFormParam template passes (bool, url.Values) instead of (ParamLocation, string) for query params - BindFormExplodeParam template passes (ParamLocation, string) instead of (bool, url.Values) for cookie params - BindDeepObjectExplodeParam and StyleDeepObjectExplodeParam missing from V3 runtime - Unused err variable in passthrough path handler template
1 parent 4afe7b4 commit 6e36bfb

9 files changed

Lines changed: 4777 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package: client
2+
output: client.gen.go
3+
generation:
4+
client: true

0 commit comments

Comments
 (0)