I tried to customize the layers schema served by restful API when I request it from “http://localhost:8080/geoserver/rest/layers.html”
And I found the template ‘src\main\java\org\geoserver\rest\catalog\ftl-templates\layers.ftl’, and I want to add the title attribute, so I modified the content as following:
<#include “head.ftl”>
Layers:
-
<#list values as l>
- ${l.properties.prefixedName}
however no matter how I modify the content, the responses are always the same without the title attribute.
Even I run `mvn clean` before `mvn jetty:run`. Also I tried to delete the file, it STILL WORK!
What's going on?