@@ -575,7 +575,7 @@ describe('swagger resolver', function () {
575
575
console . log ( unresolvedRefs )
576
576
expect ( unresolvedRefs . Category ) . toEqual ( {
577
577
root : 'http://localhost:8000/foo/bar/definitions.yaml' ,
578
- location : '/paths/health'
578
+ location : '/paths/health/MyResource '
579
579
} ) ;
580
580
var health = spec . paths [ '/MyResource' ] ;
581
581
test . object ( health ) ;
@@ -600,7 +600,7 @@ describe('swagger resolver', function () {
600
600
console . log ( unresolvedRefs )
601
601
expect ( unresolvedRefs . Category ) . toEqual ( {
602
602
root : 'http://localhost:8000/specific-domain/definitions.yaml' ,
603
- location : '/paths/health'
603
+ location : '/paths/health/MyResource '
604
604
} ) ;
605
605
var health = spec . paths [ '/MyResource' ] ;
606
606
test . object ( health ) ;
@@ -625,7 +625,7 @@ describe('swagger resolver', function () {
625
625
console . log ( unresolvedRefs )
626
626
expect ( unresolvedRefs . Category ) . toEqual ( {
627
627
root : 'http://localhost:8000/foo/common/definitions.yaml' ,
628
- location : '/paths/health'
628
+ location : '/paths/health/ApiError '
629
629
} ) ;
630
630
var health = spec . paths [ '/ApiError' ] ;
631
631
test . object ( health ) ;
0 commit comments