File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ if (args.input) {
5858 // Security definitions
5959 if ( 'securityDefinitions' in inputDoc ) {
6060 document . push ( transformSecurityDefinitions ( inputDoc . securityDefinitions ) ) ;
61- }
62- else if ( inputDoc . components && inputDoc . components . securitySchemas ) {
61+ } else if ( inputDoc . components && inputDoc . components . securitySchemas ) {
6362 document . push ( transformSecurityDefinitions ( inputDoc . components . securityDefinitions ) ) ;
6463 }
6564
@@ -75,7 +74,7 @@ if (args.input) {
7574 // Models (definitions)
7675 if ( 'definitions' in inputDoc ) {
7776 document . push ( transformDefinition ( inputDoc . definitions ) ) ;
78- } else if ( inputDoc . components && inputDoc . components . schemas ) {
77+ } else if ( inputDoc . components && inputDoc . components . schemas ) {
7978 document . push ( transformDefinition ( inputDoc . components . schemas ) ) ;
8079 }
8180
You can’t perform that action at this time.
0 commit comments