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()) {
|
for(Map.Entry<String, String> scopeEntry : oauth2Definition.getScopes().entrySet()) {
|
||||||
Map<String, Object> scope = new HashMap<String, Object>();
|
Map<String, Object> scope = new HashMap<String, Object>();
|
||||||
scope.put("scope", scopeEntry.getKey());
|
scope.put("scope", scopeEntry.getKey());
|
||||||
scope.put("description", scopeEntry.getValue());
|
scope.put("description", escapeText(scopeEntry.getValue()));
|
||||||
|
|
||||||
count += 1;
|
count += 1;
|
||||||
if (count < numScopes) {
|
if (count < numScopes) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user