Skip to content

Commit b6caa7c

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
====test====
2-
OAS 3.1 - External References Validation
2+
OAS 3.1 - External Ref Validation
33
====document====
44
openapi: 3.1.0
55
info:
@@ -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)