jQWidgets Forums
Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
October 18, 2012 at 9:36 am in reply to: Grid rowsdetails doesn't work Grid rowsdetails doesn't work #9674
the json is:
var wikiJSON = { "id":"507d51c1e51bd01492f38e03", "key":"UMS-AuthenticationService-Login", "title":"Login to UMS Message", "description":"This is description for UMS Login message", "fields":[ { "name":"username", "description":"represents username", "type":"String", "required":true }, { "name":"password", "description":"represents password", "type":"String", "required":true } ], "jsonExample":[ { "exampleName":"Login Request", "exampleJson":{ "userName":"YODA116" } }, { "exampleName":"Login Response", "exampleJson":{ "token":{ "secretKey":"F53615B2BBB5A99B9D416C5AA3954F19" }, "ID":10002 } } ], "diagramText":":actor :OpenAPI OpenAPI>getTemporaryAuthenticationTokenRequest(10001){actor>getTemporaryAuthenticationTokenResponse(10002)}", "author":"L. N. Tolstoy", "build":"1.0.0", "vresion":null}
thanks, that works , but I wonder if there is any way to render all the JSON as string, in particular – all the ‘exampleJson’ fields, like:
{ "token": { "secretKey": "F53615B2BBB5A99B9D416C5AA3954F19" }, "ID": 10002 }
var wikiJSON = { "id":"507d51c1e51bd01492f38e03", "key":"UMS-AuthenticationService-Login", "title":"Login to UMS Message", "description":"This is description for UMS Login message", "fields":[ { "name":"username", "description":"represents username", "type":"String", "required":true }, { "name":"password", "description":"represents password", "type":"String", "required":true } ], "jsonExample":[ { "exampleName":"Login Request", "exampleJson":{ "userName":"YODA116" } }, { "exampleName":"Login Response", "exampleJson":{ "token":{ "secretKey":"F53615B2BBB5A99B9D416C5AA3954F19" }, "ID":10002 } } ], "diagramText":":actor :OpenAPI OpenAPI>getTemporaryAuthenticationTokenRequest(10001){actor>getTemporaryAuthenticationTokenResponse(10002)}", "author":"L. N. Tolstoy", "build":"1.0.0", "vresion":null}
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)