File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ component name="OpenAPIParser" accessors="true" {
152152 // If `DocItem[ key ]` is an instance of Parser, we need to flattin it to a CFML struct
153153 if (
154154 isStruct ( DocItem [ key ] ) &&
155- getMetaData ( DocItem [ key ] ). keyExists ( " name" ) &&
155+ structKeyExists ( getMetaData ( DocItem [ key ] ), " name" ) &&
156156 findNoCase ( " Parser" , getMetaData ( DocItem [ key ] ).name )
157157 ) {
158158 DocItem [ key ] = DocItem [ key ].getNormalizedDocument ();
@@ -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- getMetaData ( DocItem [ key ] ). keyExists ( " name" ) &&
193+ structKeyExists ( getMetaData ( DocItem [ key ] ), " name" ) &&
194194 findNoCase ( " Parser" , getMetaData ( DocItem ).name )
195195 ) {
196196 DocItem = DocItem .getNormalizedDocument ();
You can’t perform that action at this time.
0 commit comments