WMTS capabilities does not include a style for default style on vector layers

Description

Look in the WMTS capabilities doc of a default GeoServer install and look for topp:states, only two of the three styles are listed:

<Style>
<ows:Identifier>polygon</ows:Identifier>
<LegendURL width="20" height="20" format="image/png" xlink:href="http://192.168.0.13:8080/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=topp%3Astates&amp;style=polygon"/>
</Style>
<Style>
<ows:Identifier>pophatch</ows:Identifier>
<LegendURL width="81" height="80" format="image/png" xlink:href="http://192.168.0.13:8080/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=81&amp;height=80&amp;layer=topp%3Astates&amp;style=pophatch"/>
</Style>

The default style "population" is missing, so you can't use it in QGIS (for example).

Environment

None

Assignee

Ian Turton

Reporter

Ian Turton

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure