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 306d197 commit cc6459e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion automatic-schema-generator/output/edxl/ContentMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
import java.util.stream.Stream;

@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION)
@JsonSubTypes(
@JsonSubTypes({
@JsonSubTypes.Type(TechnicalWrapper.class),
@JsonSubTypes.Type(TechnicalNoreqWrapper.class),
@JsonSubTypes.Type(CreateCaseWrapper.class),
Expand Down
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 cc6459e

Please sign in to comment.