Skip to content

Commit 50ce57d

Browse files
committed
Negative Example Object tests
1 parent 68620b8 commit 50ce57d

11 files changed

+110
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
CannotHaveBoth:
9+
dataValue: foo
10+
externalDataValue: https://example.com/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
externalValue: https://example.org/foo
10+
dataValue: foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
externalValue: https://example.org/foo
10+
externalDataValue: https://example.org/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
externalValue: https://example.org/foo
10+
externalSerializedValue: https://example.org/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
externalValue: https://example.org/foo
10+
serializedValue: foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
CannotHaveBoth:
9+
value: foo
10+
externalValue: https://example.com/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
value: foo
10+
dataValue: foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
value: foo
10+
externalDataValue: https://example.org/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
value: foo
10+
externalSerializedValue: https://example.org/foo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
6+
components:
7+
examples:
8+
NoValueWithDataValue:
9+
value: foo
10+
serializedValue: foo

0 commit comments

Comments
 (0)