Skip to content

Commit 9b2a4d8

Browse files
committed
Schema default value test
1 parent 90060b9 commit 9b2a4d8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/integration/data/v3.0/petstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@ components:
335335
Error:
336336
type: object
337337
required:
338-
- code
339338
- message
340339
properties:
341340
code:
342341
type: integer
343342
format: int32
343+
default: 400
344344
message:
345345
type: string
346346
ExtendedError:

tests/integration/validation/test_petstore.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,6 @@ def test_post_tags_created_invalid_type(
11501150
rootCause = 'Tag already exist'
11511151
additionalinfo = 'Tag Dog already exist'
11521152
data_json = {
1153-
'code': code,
11541153
'message': message,
11551154
'correlationId': str(correlationId),
11561155
'rootCause': rootCause,

0 commit comments

Comments
 (0)