@@ -30,7 +30,6 @@ const expect = require('chai').expect,
30
30
examplesOutsideSchema = path . join ( __dirname , VALID_OPENAPI_PATH + '/examples_outside_schema.json' ) ,
31
31
exampleOutsideSchema = path . join ( __dirname , VALID_OPENAPI_PATH + '/example_outside_schema.json' ) ,
32
32
descriptionInBodyParams = path . join ( __dirname , VALID_OPENAPI_PATH + '/description_in_body_params.json' ) ,
33
- descriptionInPathParams = path . join ( __dirname , VALID_OPENAPI_PATH + '/path_params_with_description.json' ) ,
34
33
zeroDefaultValueSpec = path . join ( __dirname , VALID_OPENAPI_PATH + '/zero_in_default_value.json' ) ,
35
34
requiredInParams = path . join ( __dirname , VALID_OPENAPI_PATH , '/required_in_parameters.json' ) ,
36
35
multipleRefs = path . join ( __dirname , VALID_OPENAPI_PATH , '/multiple_refs.json' ) ,
@@ -554,16 +553,6 @@ describe('The convert v2 Function', function() {
554
553
} ) ;
555
554
} ) ;
556
555
557
- it ( 'should add description in path params' , function ( done ) {
558
- var openapi = fs . readFileSync ( descriptionInPathParams , 'utf-8' ) ;
559
- Converter . convertV2 ( { type : 'string' , data : openapi } , { schemaFaker : true } , ( err , conversionResult ) => {
560
- let description = conversionResult . output [ 0 ] . data . item [ 0 ] . item [ 0 ] . item [ 0 ] . request . url . variable [ 0 ] . description ;
561
- expect ( err ) . to . be . null ;
562
- expect ( description ) . to . equal ( '(Required) Id of pet' ) ;
563
- done ( ) ;
564
- } ) ;
565
- } ) ;
566
-
567
556
it ( 'Should create collection from folder having one root file for browser' , function ( done ) {
568
557
let folderPath = path . join ( __dirname , '../data/petstore separate yaml' ) ,
569
558
files = [ ] ,
0 commit comments