Skip to content

Commit 6fc1063

Browse files
committed
fixed locations
1 parent 2a3cf3e commit 6fc1063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/resolver.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe('swagger resolver', function () {
575575
console.log(unresolvedRefs)
576576
expect(unresolvedRefs.Category).toEqual({
577577
root: 'http://localhost:8000/foo/bar/definitions.yaml',
578-
location: '/paths/health'
578+
location: '/paths/health/MyResource'
579579
});
580580
var health = spec.paths['/MyResource'];
581581
test.object(health);
@@ -600,7 +600,7 @@ describe('swagger resolver', function () {
600600
console.log(unresolvedRefs)
601601
expect(unresolvedRefs.Category).toEqual({
602602
root: 'http://localhost:8000/specific-domain/definitions.yaml',
603-
location: '/paths/health'
603+
location: '/paths/health/MyResource'
604604
});
605605
var health = spec.paths['/MyResource'];
606606
test.object(health);
@@ -625,7 +625,7 @@ describe('swagger resolver', function () {
625625
console.log(unresolvedRefs)
626626
expect(unresolvedRefs.Category).toEqual({
627627
root: 'http://localhost:8000/foo/common/definitions.yaml',
628-
location: '/paths/health'
628+
location: '/paths/health/ApiError'
629629
});
630630
var health = spec.paths['/ApiError'];
631631
test.object(health);

0 commit comments

Comments
 (0)