forked from loafle/openapi-generator-original
* [Go] Fix deepObject serialization that are anyOf Updates the go client generator to have the generated struct for anyOf types conform to `MappedNullable` interface. Fixes query params serialization for deepObjects that are of `anyOf` type. Implements the suggestion in https://github.com/OpenAPITools/openapi-generator/issues/19085 * check parameter style for deepObject serialization * generate samples for go-echo-external-refs-test * move test back to http port * restrict to anyof models with discriminator * update test * add some tests added some tests to `modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml` and regenerated the samples
16 lines
558 B
Modula-2
16 lines
558 B
Modula-2
module github.com/OpenAPITools/openapi-generator/samples/client/petstore/go
|
|
|
|
replace github.com/OpenAPITools/openapi-generator/samples/client/petstore/go/go-petstore => ./go-petstore
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.20.1 // indirect
|
|
github.com/OpenAPITools/openapi-generator/samples/client/petstore/go/go-petstore v0.0.0-00010101000000-000000000000
|
|
github.com/go-openapi/swag v0.22.3
|
|
github.com/stretchr/testify v1.9.0
|
|
golang.org/x/net v0.27.0 // indirect
|
|
golang.org/x/oauth2 v0.21.0
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
)
|