Merge branch 'beingcoder-top-enum-error-securityscope-newline-error'

This commit is contained in:
wing328 2016-08-09 17:08:51 +08:00
commit 79385aa503

View File

@ -2460,7 +2460,7 @@ public class DefaultCodegen {
for(Map.Entry<String, String> scopeEntry : oauth2Definition.getScopes().entrySet()) {
Map<String, Object> scope = new HashMap<String, Object>();
scope.put("scope", scopeEntry.getKey());
scope.put("description", scopeEntry.getValue());
scope.put("description", escapeText(scopeEntry.getValue()));
count += 1;
if (count < numScopes) {