Skip to content

Commit 0b3bc65

Browse files
committed
3.1 adjustments of new test cases
1 parent 44e911d commit 0b3bc65

16 files changed

+30
-31
lines changed

tests/schema/fail/incomplete-info-license.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
$self: true
33
info:
44
summary: true

tests/schema/fail/incomplete-info-object.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
summary: true
44
description: true

tests/schema/fail/invalid-components-and-tags.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0
@@ -99,6 +99,7 @@ components:
9999
type: string
100100
style: invalid
101101
allowEmptyValue: yes
102+
allowReserved: no
102103
invalid-cookie:
103104
name: id
104105
in: cookie

tests/schema/fail/invalid-components-object.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0

tests/schema/fail/invalid-components.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0

tests/schema/fail/invalid-info-object.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: true
44
summary: true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info: true

tests/schema/fail/invalid-schema-object.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0

tests/schema/fail/invalid-security-scheme-objects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0

tests/schema/fail/invalid-security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.2.0
1+
openapi: 3.1.0
22
info:
33
title: API
44
version: 1.0.0

0 commit comments

Comments
 (0)