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 {
|
||||
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);
|
||||
|
|
|
@ -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)
|
Loading…
Add table
Reference in a new issue