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
I tried run the utility against the Example "jukebox-api.raml" . When executing I am getting the following exception org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of jukebox-include-album-songs.sample at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:463) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:206) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:313) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getResponseInfo(RAMLtoSwagger.java:648) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getMethodsDescription(RAMLtoSwagger.java:493) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getSpecificResourceData(RAMLtoSwagger.java:455) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:425) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:438) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:438) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getResources(RAMLtoSwagger.java:338) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.convertToSwagger(RAMLtoSwagger.java:393) at org.macrulez.utils.raml2swagger.App.run(App.java:60) at org.macrulez.utils.raml2swagger.App.main(App.java:36)
The JSON content within "jukebox-include-album-songs.sample" looks to be valid but still the converter is failing to identify it as an valid JSON.
Could you please help in resolving this issue.
Regards
Arun
The text was updated successfully, but these errors were encountered:
Hi,
I tried run the utility against the Example "jukebox-api.raml" . When executing I am getting the following exception
org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of jukebox-include-album-songs.sample at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:463) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:206) at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:313) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getResponseInfo(RAMLtoSwagger.java:648) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getMethodsDescription(RAMLtoSwagger.java:493) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getSpecificResourceData(RAMLtoSwagger.java:455) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:425) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:438) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.retMethodsData(RAMLtoSwagger.java:438) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.getResources(RAMLtoSwagger.java:338) at org.macrulez.utils.raml2swagger.RAMLtoSwagger.convertToSwagger(RAMLtoSwagger.java:393) at org.macrulez.utils.raml2swagger.App.run(App.java:60) at org.macrulez.utils.raml2swagger.App.main(App.java:36)
The JSON content within "jukebox-include-album-songs.sample" looks to be valid but still the converter is failing to identify it as an valid JSON.
Could you please help in resolving this issue.
Regards
Arun
The text was updated successfully, but these errors were encountered: