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 {
var compoundTypeNode = extractCompoundTypeNode(ctx.compoundType());
var endpoint = new EndpointNode(new PathsNode(segments), compoundTypeNode.name());
this.dataTypes.add(compoundTypeNode);
//this.dataTypes.add(compoundTypeNode);
this.endpoints.add(endpoint);
}
return super.visitEndpoint(ctx);

View file

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