You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resulting in undefined: Test1FieldA with the following generated code
// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
// Test defines model for test.
type Test struct {
union json.RawMessage
}
// Test0 defines model for .
type Test0 struct {
FieldA *string `json:"fieldA,omitempty"`
}
// Test1 defines model for .
type Test1 struct {
FieldA *Test1FieldA `json:"fieldA,omitempty"`
}
I have seen that a similar issue was fixed before but it deals with a different usecase:
The types generated from the following spec sample will not generate the enum definition:
resulting in
undefined: Test1FieldA
with the following generated codeI have seen that a similar issue was fixed before but it deals with a different usecase:
The text was updated successfully, but these errors were encountered: