Issue 11401 - report correctly the parameters with the deep object specification (#13909)

* issue #11401 - Go client generator doesn't support deepObject in query

* samples generation

* fix generation

* fix generation

* generated samples

# Conflicts:
#	samples/client/petstore/go/go-petstore/model_200_response.go
#	samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go
#	samples/client/petstore/go/go-petstore/model_client.go

* Fixed unit tests

* revert to http connection for tests

* fix model_simple generation

* Fix parameter encoding issue

* simplified routine

* fix test url

* adapted for latest master, necessary generation

* samples generation

* sync with new master, regenerate samples

* added api client test
This commit is contained in:
Vittorio Parrella
2022-11-20 02:09:33 -05:00
committed by GitHub
parent 95b566a3a9
commit 4487042f0d
124 changed files with 2099 additions and 441 deletions

View File

@@ -111,7 +111,7 @@ func TestFindPetsByTag(t *testing.T) {
assert := assert.New(t)
for i := 0; i < len(resp); i++ {
if *resp[i].Id == 12830 {
assert.Equal(*resp[i].Status, "available", "Pet status should be `pending`")
assert.Equal("available", *resp[i].Status, "Pet status should be `available`")
found = true
}
}