Schema default value test

This commit is contained in:
p1c2u 2021-05-01 12:04:47 +01:00
parent 90060b9c8a
commit 9b2a4d8147
2 changed files with 1 additions and 2 deletions

View file

@ -335,12 +335,12 @@ components:
Error:
type: object
required:
- code
- message
properties:
code:
type: integer
format: int32
default: 400
message:
type: string
ExtendedError:

View file

@ -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,