[Geoserver-devel] [JIRA] (GEOS-7038) Add prettyPrint option to Style REST API

Torben Barsballe created an issue

GeoServer / New FeatureGEOS-7038

Add prettyPrint option to Style REST API

Issue Type:

New FeatureNew Feature

Assignee:

Unassigned

Components:

REST

Created:

20/May/15 11:15 PM

Priority:

MediumMedium

Reporter:

Torben Barsballe

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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8)

Atlassian logo