Freemarker templates

This commit is contained in:
Johan Maasing 2025-04-01 21:04:37 +02:00
parent d41212c7b2
commit 1eb97762f9
2 changed files with 3 additions and 11 deletions

View file

@ -57,7 +57,7 @@ public class EndpointsVisitorTransformer extends EndpointsBaseVisitor<EndpointsP
} else { } else {
var compoundTypeNode = extractCompoundTypeNode(ctx.compoundType()); var compoundTypeNode = extractCompoundTypeNode(ctx.compoundType());
var endpoint = new EndpointNode(new PathsNode(segments), compoundTypeNode.name()); var endpoint = new EndpointNode(new PathsNode(segments), compoundTypeNode.name());
this.dataTypes.add(compoundTypeNode); //this.dataTypes.add(compoundTypeNode);
this.endpoints.add(endpoint); this.endpoints.add(endpoint);
} }
return super.visitEndpoint(ctx); return super.visitEndpoint(ctx);

View file

@ -1,10 +1,2 @@
{ /some/endpoint < SomeType(foo:String)
config:foo /some/other/endpoint < SomeOtherType(bar:Embedded)
}
SomeType(
foo:bar
)
/some/endpoint < SomeType
/some/other/endpoint < SomeOtherType(bar:String)