Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Apiary not formatting json response examples #475

Description

@satish-sahu00

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions