mirror of https://github.com/apache/nifi.git
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:
parent
3ec0aa947f
commit
0a7d149656
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue