forked from loafle/openapi-generator-original
[Java] Escape descriptions in javadocs (#6040)
The [java8 doclint](http://openjdk.java.net/jeps/172) rejects unescaped HTML chars such as `<`, making some generated clients unbuildable with java8. Seems a few property descriptions were using the `{{{` instead of `{{` preventing those HTML chars from being escaped properly.
This commit is contained in:
@@ -38,7 +38,7 @@ public class ModelReturn {
|
||||
}
|
||||
|
||||
/**
|
||||
* property description *_/ ' \" =end -- \\r\\n \\n \\r
|
||||
* property description *_/ ' \" =end -- \\r\\n \\n \\r
|
||||
* @return _return
|
||||
**/
|
||||
@ApiModelProperty(value = "property description *_/ ' \" =end -- \\r\\n \\n \\r")
|
||||
|
||||
Reference in New Issue
Block a user