{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/240","labels_url":"https://api.github.com/repos/apiaryio/dredd/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/240/comments","events_url":"https://api.github.com/repos/apiaryio/dredd/issues/240/events","html_url":"https://github.com/apiaryio/dredd/issues/240","id":93800906,"number":240,"title":"[discussion] [feature request] [help needed] generate JSON file with requests based on your own schema","user":{"login":"hellboy81","id":341600,"avatar_url":"https://avatars.githubusercontent.com/u/341600?v=3","gravatar_id":"","url":"https://api.github.com/users/hellboy81","html_url":"https://github.com/hellboy81","followers_url":"https://api.github.com/users/hellboy81/followers","following_url":"https://api.github.com/users/hellboy81/following{/other_user}","gists_url":"https://api.github.com/users/hellboy81/gists{/gist_id}","starred_url":"https://api.github.com/users/hellboy81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellboy81/subscriptions","organizations_url":"https://api.github.com/users/hellboy81/orgs","repos_url":"https://api.github.com/users/hellboy81/repos","events_url":"https://api.github.com/users/hellboy81/events{/privacy}","received_events_url":"https://api.github.com/users/hellboy81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-08T14:20:13Z","updated_at":"2015-07-12T07:05:30Z","closed_at":null,"body":"I need to produce JSON output from API Blueprint with following schema:\r\n\r\n```js\r\n\"ping\": {\r\n   \"url\": \"/ping\",\r\n   \"method\": \"GET\",\r\n},\r\n\"myEndpoint\": {\r\n   \"url\"; \"/my/endpoint/{param0}\"\r\n   \"method\": \"GET\".\r\n   \"params\": {\r\n          \"param0\": 2\r\n    }\r\n}\r\n```\r\n\r\nOnly request parameters are important.\r\nWhat is the best way to implement this feature?"},"comment":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/comments/120697443","html_url":"https://github.com/apiaryio/dredd/issues/240#issuecomment-120697443","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/240","id":120697443,"user":{"login":"w-vi","id":5246357,"avatar_url":"https://avatars.githubusercontent.com/u/5246357?v=3","gravatar_id":"","url":"https://api.github.com/users/w-vi","html_url":"https://github.com/w-vi","followers_url":"https://api.github.com/users/w-vi/followers","following_url":"https://api.github.com/users/w-vi/following{/other_user}","gists_url":"https://api.github.com/users/w-vi/gists{/gist_id}","starred_url":"https://api.github.com/users/w-vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w-vi/subscriptions","organizations_url":"https://api.github.com/users/w-vi/orgs","repos_url":"https://api.github.com/users/w-vi/repos","events_url":"https://api.github.com/users/w-vi/events{/privacy}","received_events_url":"https://api.github.com/users/w-vi/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T07:05:30Z","updated_at":"2015-07-12T07:05:30Z","body":"If I undrestand you correctly, you need to parse the Blueprint and get some json output describing the endpoints defined in the Blueprint, am I corect? If so than have look at https://github.com/apiaryio/protagonist"}}