Skip to content

Commit 41d1439

Browse files
committed
feat(ls): migrate disallowing equivalent paths in OAS2
1 parent b0851d2 commit 41d1439

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/apidom-ls/test/validate.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3792,11 +3792,17 @@ describe('apidom-ls-validate', function () {
37923792
it('oas 2.0 should not allow equivalent paths', async function () {
37933793
const spec = fs
37943794
.readFileSync(
3795-
path.join(__dirname, 'fixtures', 'validation', 'oas', 'equivalent-paths-not-allowed.yaml'),
3795+
path.join(
3796+
__dirname,
3797+
'fixtures',
3798+
'validation',
3799+
'oas',
3800+
'path-template-equivalent-not-allowed.yaml',
3801+
),
37963802
)
37973803
.toString();
37983804
const doc: TextDocument = TextDocument.create(
3799-
'equivalent-paths-not-allowed.yaml',
3805+
'path-template-equivalent-not-allowed.yaml',
38003806
'yaml',
38013807
0,
38023808
spec,

0 commit comments

Comments
 (0)