{"action":"closed","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/672","labels_url":"https://api.github.com/repos/springfox/springfox/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/672/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/672/events","html_url":"https://github.com/springfox/springfox/issues/672","id":68276597,"number":672,"title":"Not all ApiInfo fields should be mandatory","user":{"login":"RobWin","id":5815046,"avatar_url":"https://avatars.githubusercontent.com/u/5815046?v=3","gravatar_id":"","url":"https://api.github.com/users/RobWin","html_url":"https://github.com/RobWin","followers_url":"https://api.github.com/users/RobWin/followers","following_url":"https://api.github.com/users/RobWin/following{/other_user}","gists_url":"https://api.github.com/users/RobWin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobWin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobWin/subscriptions","organizations_url":"https://api.github.com/users/RobWin/orgs","repos_url":"https://api.github.com/users/RobWin/repos","events_url":"https://api.github.com/users/RobWin/events{/privacy}","received_events_url":"https://api.github.com/users/RobWin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T06:22:50Z","updated_at":"2015-04-14T18:04:36Z","closed_at":"2015-04-14T18:04:36Z","body":"Not all ApiInfo fields should be mandatory.\r\nIf some ApiInfo fields are empty, they should not be rendered into the JSON output.\r\n\r\nExample:\r\n```\r\n    private ApiInfo spicaApiInfo() {\r\n        return new ApiInfoBuilder()\r\n                .title(\"Example\")\r\n                .description(\"Description\")\r\n                .contact(\"Contact\")\r\n                .version(\"1.0.0\")\r\n                .build();\r\n    }\r\n```\r\n\r\nThe licence part should not be rendered:\r\n\r\n```\r\n    \"info\": {\r\n        \"description\": \"Description\",\r\n        \"version\": \"1.0.0\",\r\n        \"title\": \"Example\",\r\n        \"contact\": {\r\n            \"name\": \"Contact\"\r\n        },\r\n        \"license\": {\r\n            \"name\": null,\r\n            \"url\": null\r\n        }\r\n    }, \r\n```"}}