forked from loafle/openapi-generator-original
Merge branch 'beingcoder-top-enum-error-securityscope-newline-error'
This commit is contained in:
commit
79385aa503
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user