{"action":"created","issue":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/1266","repository_url":"https://api.github.com/repos/OpenAPITools/openapi-generator","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/1266/comments","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/1266/events","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/1266","id":371553646,"node_id":"MDU6SXNzdWUzNzE1NTM2NDY=","number":1266,"title":" openapi-generator-cli attempting to parse json as yaml","user":{"login":"yringler","id":4070825,"node_id":"MDQ6VXNlcjQwNzA4MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/4070825?v=4","gravatar_id":"","url":"https://api.github.com/users/yringler","html_url":"https://github.com/yringler","followers_url":"https://api.github.com/users/yringler/followers","following_url":"https://api.github.com/users/yringler/following{/other_user}","gists_url":"https://api.github.com/users/yringler/gists{/gist_id}","starred_url":"https://api.github.com/users/yringler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yringler/subscriptions","organizations_url":"https://api.github.com/users/yringler/orgs","repos_url":"https://api.github.com/users/yringler/repos","events_url":"https://api.github.com/users/yringler/events{/privacy}","received_events_url":"https://api.github.com/users/yringler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T14:18:10Z","updated_at":"2018-10-25T23:55:47Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease follow the issue template below for bug reports and feature requests.\r\nAlso please indicate in the issue title which language/library is concerned. Eg:  [JAVA] Bug generating foo with bar \r\n-->\r\n\r\n##### Description\r\nThe cli is parsing JSON as yaml, and of course failing.\r\n<!-- describe what is the question, suggestion or issue and why this is a problem for you. -->\r\n\r\n##### openapi-generator version\r\n3.3.1\r\n<!-- which version of openapi-generator are you using, is it a regression? -->\r\n\r\n##### OpenAPI declaration file content or url\r\nhttps://gist.github.com/yringler/700aaa11f4155ddc6644a43ca6ca5de1\r\n<!-- if it is a bug, a json or yaml that produces it.\r\nIf you post the code inline, please wrap it with\r\n```yaml\r\n(here your code)\r\n```\r\n(for YAML code) or\r\n```json\r\n(here your code)\r\n```\r\n(for JSON code), so it becomes more readable. If it is longer than about ten lines,\r\nplease create a Gist (https://gist.github.com) or upload it somewhere else and\r\nlink it here.\r\n  -->\r\n\r\n##### Command line used for generation\r\n\r\n<!-- including the language, libraries and various options -->\r\njava -jar openapi-generator-cli-3.3.1.jar generate -i \"virtual-path.openapi.json\" -g cwiki\r\n\r\nJava version:\r\njava version \"1.8.0_171\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_171-b11)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)\r\n##### Steps to reproduce\r\n\r\n<!-- unambiguous set of steps to reproduce the bug.-->\r\nRun the command?\r\nThe bug occured two days ago, it worked yesterday, and today it doesn't work again...\r\nThis might be a [heisenbug](https://en.wikipedia.org/wiki/Heisenbug)\r\n##### Related issues/PRs\r\n\r\n<!-- has a similar issue/PR been reported/opened before? Please do a search in https://github.com/openapitools/openapi-generator/issues?utf8=%E2%9C%93&q=is%3Aissue%20 -->\r\n\r\n##### Suggest a fix/enhancement\r\n\r\n<!-- if you can't fix the bug yourself, perhaps you can point to what might be\r\n  causing the problem (line of code or commit), or simply make a suggestion -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/comments/433243132","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/1266#issuecomment-433243132","issue_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/1266","id":433243132,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzI0MzEzMg==","user":{"login":"dkvollmar","id":38565921,"node_id":"MDQ6VXNlcjM4NTY1OTIx","avatar_url":"https://avatars3.githubusercontent.com/u/38565921?v=4","gravatar_id":"","url":"https://api.github.com/users/dkvollmar","html_url":"https://github.com/dkvollmar","followers_url":"https://api.github.com/users/dkvollmar/followers","following_url":"https://api.github.com/users/dkvollmar/following{/other_user}","gists_url":"https://api.github.com/users/dkvollmar/gists{/gist_id}","starred_url":"https://api.github.com/users/dkvollmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkvollmar/subscriptions","organizations_url":"https://api.github.com/users/dkvollmar/orgs","repos_url":"https://api.github.com/users/dkvollmar/repos","events_url":"https://api.github.com/users/dkvollmar/events{/privacy}","received_events_url":"https://api.github.com/users/dkvollmar/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T23:55:47Z","updated_at":"2018-10-25T23:55:47Z","author_association":"NONE","body":"I figured out that my problem was that a referenced file was missing the starting \"{\".\r\nI guess the error message should be better."}}
{"actor":{"display_login":"dkvollmar"}}