diff --git a/tests/integration/data/v3.0/petstore.yaml b/tests/integration/data/v3.0/petstore.yaml index 6d2b1c6..9db095b 100644 --- a/tests/integration/data/v3.0/petstore.yaml +++ b/tests/integration/data/v3.0/petstore.yaml @@ -335,12 +335,12 @@ components: Error: type: object required: - - code - message properties: code: type: integer format: int32 + default: 400 message: type: string ExtendedError: diff --git a/tests/integration/validation/test_petstore.py b/tests/integration/validation/test_petstore.py index 7e28649..4992e33 100644 --- a/tests/integration/validation/test_petstore.py +++ b/tests/integration/validation/test_petstore.py @@ -1150,7 +1150,6 @@ class TestPetstore(object): rootCause = 'Tag already exist' additionalinfo = 'Tag Dog already exist' data_json = { - 'code': code, 'message': message, 'correlationId': str(correlationId), 'rootCause': rootCause,