Skip to content

Commit d030689

Browse files
committed
fix(test-harness): add external references validation scenario for OAS 3.1
1 parent 85a7304 commit d030689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-harness/scenarios/oas3.1/external-references.scenario renamed to test-harness/scenarios/oas3.1/external-ref.scenario

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
description: Example API description
99
paths:
1010
/greetings:
11-
$ref: "{asset:greetings.yaml}"
11+
$ref: "greetings.yaml"
1212
tags:
1313
- name: User
1414
description: Info about users
@@ -35,6 +35,6 @@ extends: [[spectral:oas, off]]
3535
rules:
3636
oas3-schema: error
3737
====command====
38-
{bin} lint {document} --ruleset {asset:ruleset.yaml} --resolve
39-
====expected-stdout====
38+
{bin} lint {document} --ruleset {asset:ruleset.yaml}
39+
====stdout====
4040
No results with a severity of 'error' found!

0 commit comments

Comments
 (0)