forked from loafle/openapi-generator-original
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:
committed by
GitHub
parent
95b566a3a9
commit
4487042f0d
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user