Skip to content

Commit a23bada

Browse files
committed
Fix name check
1 parent edf1e3c commit a23bada

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.artifacts/**
44
.tmp/**
5+
modules/
56

67
test-harness/.engine/**
78
test-harness/.env
@@ -11,6 +12,7 @@ test-harness/testbox/**
1112
test-harness/logs/**
1213
test-harness/modules/**
1314
test-harness/tests/resources/petstore/test.yaml
15+
.engine/**
1416

1517
# log files
1618
logs/**

box.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@
3333
],
3434
"scripts":{
3535
"toMaster":"recipe build/toMaster.boxr"
36+
},
37+
"installPaths":{
38+
"cbjavaloader":"modules/cbjavaloader/"
3639
}
3740
}

models/OpenAPI/Parser.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ component name="OpenAPIParser" accessors="true" {
190190
// If `DocItem` is an instance of Parser, we need to flattin it to a CFML struct
191191
if (
192192
isStruct( DocItem ) &&
193-
structKeyExists( getMetaData( DocItem[ key ] ), "name" ) &&
193+
structKeyExists( getMetaData( DocItem ), "name" ) &&
194194
findNoCase( "Parser", getMetaData( DocItem ).name )
195195
) {
196196
DocItem = DocItem.getNormalizedDocument();

0 commit comments

Comments
 (0)