You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have multiple error cases under http status 400. But swagger editor is not displaying it properly rather it is fetching it from the reference defined
I want it should display the structure I am creating :
'400':
description: 'Failure - Bad request'
schema:
$ref: '#/definitions/faultResponse'
examples:
No Chain:
fault:
code: '-1'
message: 'Mandatory request header(s) not found or invalid'
httpStatus: 400
No Chain2:
fault:
code: invalidRequest
message: Invalid request
providerCode: '400'
failures:
- message: 'Invalid type, abcid (value as provided in request)'
providerCode: '-4'
httpStatus: 400
No Chain3:
fault:
code: invalidRequest
message: Invalid request
providerCode: '400'
failures:
- message: 'Invalid type, xyzid (value as provided in request)'
providerCode: '-5'
httpStatus: 400
The text was updated successfully, but these errors were encountered:
Hi, I have multiple error cases under http status 400. But swagger editor is not displaying it properly rather it is fetching it from the reference defined
I want it should display the structure I am creating :
The text was updated successfully, but these errors were encountered: