mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-22 03:00:10 +00:00
Schema default value test
This commit is contained in:
parent
90060b9c8a
commit
9b2a4d8147
2 changed files with 1 additions and 2 deletions
|
@ -335,12 +335,12 @@ components:
|
||||||
Error:
|
Error:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- code
|
|
||||||
- message
|
- message
|
||||||
properties:
|
properties:
|
||||||
code:
|
code:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
default: 400
|
||||||
message:
|
message:
|
||||||
type: string
|
type: string
|
||||||
ExtendedError:
|
ExtendedError:
|
||||||
|
|
|
@ -1150,7 +1150,6 @@ class TestPetstore(object):
|
||||||
rootCause = 'Tag already exist'
|
rootCause = 'Tag already exist'
|
||||||
additionalinfo = 'Tag Dog already exist'
|
additionalinfo = 'Tag Dog already exist'
|
||||||
data_json = {
|
data_json = {
|
||||||
'code': code,
|
|
||||||
'message': message,
|
'message': message,
|
||||||
'correlationId': str(correlationId),
|
'correlationId': str(correlationId),
|
||||||
'rootCause': rootCause,
|
'rootCause': rootCause,
|
||||||
|
|
Loading…
Reference in a new issue