Commit 091a02f
fix(go): fix Go client to normalize request header keys using Header.Set (#24766)
* fix(go): fix Go client to normalize request header keys using Header.Set
- Use Set when writing headerParams to http.Header to automatically apply canonical key formatting.
- Avoid inconsistent casing or duplicate header issues caused by direct map assignment.
* chore: generate samples
* chore(samples): regenerate dependency snapshots for Go and Terraform templates
- Update the go.mod Go version format for multiple Go client/server templates (e.g., 1.23 → 1.23.0, 1.25 → 1.25.0).
- Add missing terraform-plugin-testing checksums to the Terraform templates' go.sum.
- Sync checksums for indirect dependencies such as testify, x/sys, and x/text.
- Add go.sum files for templates including echo-server, chi-server, and gin-api-server-interface-only.
* chore: generate samples
* fix(test): fix abnormal test unit content.
---------
Co-authored-by: Wuchieh <wuchieh@wuchieh.com>1 parent 70ec9dd commit 091a02f
27 files changed
Lines changed: 109 additions & 18 deletions
File tree
- modules/openapi-generator/src/main/resources/go
- samples
- client
- echo_api
- go-external-refs
- go
- others
- go
- allof_multiple_ref_and_discriminator
- issue_20079_go_regex_wrongly_translated
- oneof-anyof-required
- oneof-discriminator-lookup
- terraform
- allof-discriminator
- oneof-anyof-required
- oneof-discriminator-lookup
- petstore
- go
- go-petstore
- terraform-addpet
- terraform-server
- openapi3
- client
- extensions/x-auth-id-alias/go-experimental
- petstore
- go-petstore-generateMarshalJSON-false
- go-petstore-withXml
- go
- go-petstore-aws-signature
- go-petstore
- server/petstore/go
- go-petstore
- server
- others/go-server/no-body-path-params
- petstore
- go-chi-server
- go-echo-server
- go-gin-api-server-interface-only
- go-gin-api-server
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments