Help required to convert edited swagger spec JSON to YAML/JSON conversion

12 views
Skip to first unread message

maruthi H

unread,
Mar 20, 2017, 2:00:44 AM3/20/17
to Swagger
Hi All,

As per the current implementation of swagger editor, i noticed that "$ref"property[ex: $ref: "#/definitions/Product"]  in the YAML content has been split before rendering the preview of YAML content in the right half pane of swagger editor.

Before Spliiting (YAML.js)

After splitting(sway-worker.js)





Now, i have a use case where i need to get original swagger content from the split specs of the content.

Kindly asssist me in getting back the YAML/JSON content which contains unsplit references as $ref: "#/definitons/Product".

Looking forward for your reply.


Thank you,

Maruthi H


Reply all
Reply to author
Forward
0 new messages