NIFI-3932 Symbols in API comments cause problems with Swagger Codegen

* Update ApiModelProperty descriptions to avoid problematic characters.

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #1821.
This commit is contained in:
Joe Skora 2017-05-18 09:45:36 -04:00 committed by Pierre Villard
parent 3ec0aa947f
commit 0a7d149656
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class LabelDTO extends ComponentDTO {
* @return style for this label
*/
@ApiModelProperty(
value = "The styles for this label (font-size => 12px, background-color => #eee, etc)."
value = "The styles for this label (font-size : 12px, background-color : #eee, etc)."
)
public Map<String, String> getStyle() {
return style;

View File

@ -121,7 +121,7 @@ public class ProcessorDTO extends ComponentDTO {
* @return The styles for this processor. (Currently only supports color)
*/
@ApiModelProperty(
value = "Styles for the processor (background-color => #eee)."
value = "Styles for the processor (background-color : #eee)."
)
public Map<String, String> getStyle() {
return style;