{"action":"reopened","issue":{"url":"https://api.github.com/repos/raml-leanlabsio/raml2html/issues/2","labels_url":"https://api.github.com/repos/raml-leanlabsio/raml2html/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/raml-leanlabsio/raml2html/issues/2/comments","events_url":"https://api.github.com/repos/raml-leanlabsio/raml2html/issues/2/events","html_url":"https://github.com/raml-leanlabsio/raml2html/issues/2","id":84700479,"number":2,"title":"Generation error on valid RAML file","user":{"login":"ddossot","id":119028,"avatar_url":"https://avatars.githubusercontent.com/u/119028?v=3","gravatar_id":"","url":"https://api.github.com/users/ddossot","html_url":"https://github.com/ddossot","followers_url":"https://api.github.com/users/ddossot/followers","following_url":"https://api.github.com/users/ddossot/following{/other_user}","gists_url":"https://api.github.com/users/ddossot/gists{/gist_id}","starred_url":"https://api.github.com/users/ddossot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddossot/subscriptions","organizations_url":"https://api.github.com/users/ddossot/orgs","repos_url":"https://api.github.com/users/ddossot/repos","events_url":"https://api.github.com/users/ddossot/events{/privacy}","received_events_url":"https://api.github.com/users/ddossot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-03T18:18:51Z","updated_at":"2015-06-03T22:13:13Z","closed_at":null,"body":"I'm trying to generate the doc for this RAML: https://api.unbounce.com/raml/v0.4/api.raml\r\n\r\nHere is the error I get:\r\n<pre>\r\narray(1) {\r\n  [\"schema\"]=>\r\n  string(3008) \"{\"$schema\":\"http:\\/\\/json-schema.org\\/draft-04\\/schema#\",\"description\":\"Collection of account entities.\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"accounts\",\"metadata\"],\"properties\":{\"accounts\":{\"type\":\"array\",\"minItems\":0,\"uniqueItems\":true,\"items\":{\"$schema\":\"http:\\/\\/json-schema.org\\/draft-04\\/schema#\",\"description\":\"TODO describe\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"created_at\",\"id\",\"metadata\",\"name\",\"options\",\"state\"],\"properties\":{\"created_at\":{\"title\":\"Generic Date\",\"description\":\"RFC 5322, section 3.4.1, compliant date, which means formatted with: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\",\"type\":\"string\",\"format\":\"date-time\",\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/common\\/definitions_v2.0.json#\\/date\"},\"id\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"allOf\":[{\"title\":\"Entity Metadata\",\"type\":\"object\",\"required\":[\"location\",\"documentation\"],\"properties\":{\"location\":{\"type\":\"string\",\"format\":\"uri\"},\"documentation\":{\"type\":\"string\",\"format\":\"uri\"},\"related\":{\"type\":\"object\"}},\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/common\\/entities_v2.0.json#\\/entity_metadata\"},{\"type\":\"object\",\"required\":[\"related\"],\"properties\":{\"related\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"pages\",\"accounts\",\"sub_accounts\"],\"properties\":{\"pages\":{\"type\":\"string\",\"format\":\"uri\"},\"accounts\":{\"type\":\"string\",\"format\":\"uri\"},\"sub_accounts\":{\"type\":\"string\",\"format\":\"uri\"}}}}}],\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/metadata.json#\\/account_metadata\"},\"name\":{\"type\":\"string\"},\"options\":{\"$schema\":\"http:\\/\\/json-schema.org\\/draft-04\\/schema#\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"api_keys_enabled\":{\"type\":\"boolean\"}},\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/account_options.json\"},\"state\":{\"type\":\"string\",\"enum\":[\"active\",\"suspended\"]}},\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/account.json\"}},\"metadata\":{\"title\":\"Collection Metadata\",\"type\":\"object\",\"allOf\":[{\"title\":\"Entity Metadata\",\"type\":\"object\",\"required\":[\"location\",\"documentation\"],\"properties\":{\"location\":{\"type\":\"string\",\"format\":\"uri\"},\"documentation\":{\"type\":\"string\",\"format\":\"uri\"},\"related\":{\"type\":\"object\"}},\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/common\\/entities_v2.0.json#\\/entity_metadata\"},{\"type\":\"object\",\"required\":[\"count\"],\"properties\":{\"count\":{\"type\":\"integer\"}}}],\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/common\\/entities_v2.0.json#\\/collection_metadata\"}},\"id\":\"file:\\/\\/\\/home\\/ddossot\\/dev\\/projects\\/ub-public-api-specs\\/resources\\/webroot\\/raml\\/v0.4\\/schema\\/accounts.json\"}\"\r\n}\r\nThe key application/vnd.unbounce.api.v0.4+json does not exist.\r\nphar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php 333\r\n#0 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(336): Raml\\Parser->recurseAndParseSchemas(Array, '/home/ddossot/d...')\r\n#1 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(336): Raml\\Parser->recurseAndParseSchemas(Array, '/home/ddossot/d...')\r\n#2 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(336): Raml\\Parser->recurseAndParseSchemas(Array, '/home/ddossot/d...')\r\n#3 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(336): Raml\\Parser->recurseAndParseSchemas(Array, '/home/ddossot/d...')\r\n#4 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(273): Raml\\Parser->recurseAndParseSchemas(Array, '/home/ddossot/d...')\r\n#5 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/cnam/php-raml-parser/src/Parser.php(211): Raml\\Parser->parseRamlData(Array, '/home/ddossot/d...', true)\r\n#6 phar:///home/ddossot/dev/tools/raml2html.phar/src/Generator.php(55): Raml\\Parser->parse('/home/ddossot/d...', true)\r\n#7 phar:///home/ddossot/dev/tools/raml2html.phar/src/Command/GenerateCommand.php(62): Cnam\\Generator->parse('/home/ddossot/d...')\r\n#8 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Cnam\\Command\\GenerateCommand->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#9 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#10 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\\Component\\Console\\Application->doRunCommand(Object(Cnam\\Command\\GenerateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#11 phar:///home/ddossot/dev/tools/raml2html.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#12 phar:///home/ddossot/dev/tools/raml2html.phar/index.php(15): Symfony\\Component\\Console\\Application->run()\r\n#13 /home/ddossot/dev/tools/raml2html.phar(10): include('phar:///home/dd...')\r\n#14 {main}\r\n</pre>"}}