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
Right now using allOf results in embedding any $refs and creating new structs for those that are defined in a new block. For those not using $ref would it be possible (and correct?) to generate those as members of the struct that currently embeds the generated one? I.e. instead of generating:
type Bar struct { ... }
type FooEmbedded1 struct {
A int
B string
}
type Foo struct {
Bar
FooEmbedded1
}
for an allOf block including $ref: "path/to/barand an object block withAandB` generate:
type Bar struct { ... }
type Foo struct {
Bar
A int
B string
}
The text was updated successfully, but these errors were encountered:
Right now using
allOf
results in embedding any$ref
s and creating new structs for those that are defined in a new block. For those not using$ref
would it be possible (and correct?) to generate those as members of the struct that currently embeds the generated one? I.e. instead of generating:for an
allOf block including
$ref: "path/to/barand an object block with
Aand
B` generate:The text was updated successfully, but these errors were encountered: