mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 06:57:06 +00:00
Fix typos (#20442)
This commit is contained in:
@@ -163,10 +163,10 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify"
|
||||
} else {
|
||||
// Use a for loop instead of forEach to avoid nested functions
|
||||
// Otherwise "return" will not work properly
|
||||
for(var propt in currentNode){
|
||||
if (currentNode.hasOwnProperty(propt)) {
|
||||
currentChild = currentNode[propt]
|
||||
if (id == propt) {
|
||||
for(var prompt in currentNode){
|
||||
if (currentNode.hasOwnProperty(prompt)) {
|
||||
currentChild = currentNode[prompt]
|
||||
if (id == prompt) {
|
||||
return currentChild;
|
||||
} else {
|
||||
// Search in the current child
|
||||
|
||||
Reference in New Issue
Block a user