File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ component name="OpenAPIParser" accessors="true" {
176176 **/
177177 public function parseDocumentInheritance ( required any DocItem ){
178178
179- // If `DocItem` is an instance of Parser, we need to flattin it to a CFML struct
179+ // If `DocItem` is an instance of Parser, we need to flatten it to a CFML struct
180180 if (
181181 isStruct ( DocItem ) &&
182182 structKeyExists ( getMetaData ( DocItem ), " name" ) &&
@@ -191,7 +191,7 @@ component name="OpenAPIParser" accessors="true" {
191191 }
192192 } else if ( isStruct ( DocItem ) ) {
193193
194- var compositionKeys = [ " $allOf" , " $oneOf" ];
194+ var compositionKeys = [ " $allOf" , " $oneOf" , " $extend " ];
195195
196196 for ( var composition in compositionKeys ){
197197
@@ -238,7 +238,7 @@ component name="OpenAPIParser" accessors="true" {
238238 objects .each ( function ( item , index ) {
239239 if ( isStruct ( item ) ) {
240240
241- // If `item` is an instance of Parser, we need to flattin it to a CFML struct
241+ // If `item` is an instance of Parser, we need to flatten it to a CFML struct
242242 if ( findNoCase ( " Parser" , getMetaData ( item ).name ) ) {
243243 item = item .getNormalizedDocument ();
244244 }
You can’t perform that action at this time.
0 commit comments