Skip to content

Commit

Permalink
feat/auto: fix tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
ssviridov committed Nov 28, 2024
1 parent 67a1ed6 commit bfb74cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import java.util.stream.Collectors;
import java.util.stream.Stream;

@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION)
@JsonSubTypes({{ range $i, $e := (datasource "config").schemas }}{{if eq .automaticGeneration "Y"}}
@JsonSubTypes({{{ range $i, $e := (datasource "config").schemas }}{{if eq .automaticGeneration "Y"}}
@JsonSubTypes.Type({{ .rootElement | title }}Wrapper.class),{{end}}{{end}}
@JsonSubTypes.Type(ErrorWrapper.class)
})
Expand Down

0 comments on commit bfb74cc

Please sign in to comment.