Freemarker templates
This commit is contained in:
parent
d41212c7b2
commit
1eb97762f9
2 changed files with 3 additions and 11 deletions
|
@ -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);
|
||||||
|
|
|
@ -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)
|
|
Loading…
Add table
Reference in a new issue