|
The StyleFormat class used by the GeoServer REST API for GetStyle requests includes a "prettyPrint" parameter that controls the output format. This parameter formats the result of a GET to be human-readable, but is only meaningfull when converting from one format (e.g. CSS) to another (e.g. SLD) - When doing a GET against the native format, the on-disk representation is used. In the current API, there is no way of enabling this "prettyPrint" functionality. I suggest adding a query parameter to the GET style request to enable this functionality.
|