Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apiary not formatting json response examples #475

Open
satish-sahu00 opened this issue Apr 7, 2022 · 0 comments
Open

Apiary not formatting json response examples #475

satish-sahu00 opened this issue Apr 7, 2022 · 0 comments

Comments

@satish-sahu00
Copy link

I have created an Apiary project using Swagger and not API Blueprint, following is my response for 200 and it has an example json

responses:
"200":
description: Successful Operation
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponseCollectionTransferResponseVO'
examples:
Successful Operation:
description: Successful Operation
value:
success: true
data:
- amount: 2000
approvalRequirement: 12345
approvedBy: ""
approvedDate: ""
bankTraceNumber: 20220280001
creditAccount: "2800208988"
creditAccountName: Auto Loaded Account
debitAccount: "2800208937"
debitAccountName: Auto Loaded Account
entryDate: 2022-01-28T15:22:12.597z
entryMethod: "null"
memo: ""
possibleActions:
- View
settledDate: ""
status: Successful
statusCode: 18
transferId: 400147
result:
info: ""
guid: ""
systemMessage: ""

and below is the response in Apiary console

Screenshot 2022-04-07 at 9 56 43 AM

Why is it not formatting it and is there a way to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@satish-sahu00 and others