{"action":"created","issue":{"url":"https://api.github.com/repos/raphael/goa/issues/145","labels_url":"https://api.github.com/repos/raphael/goa/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/raphael/goa/issues/145/comments","events_url":"https://api.github.com/repos/raphael/goa/issues/145/events","html_url":"https://github.com/raphael/goa/issues/145","id":124153641,"number":145,"title":"Support for Swagger 2.0 Tags","user":{"login":"abourget","id":93424,"avatar_url":"https://avatars.githubusercontent.com/u/93424?v=3","gravatar_id":"","url":"https://api.github.com/users/abourget","html_url":"https://github.com/abourget","followers_url":"https://api.github.com/users/abourget/followers","following_url":"https://api.github.com/users/abourget/following{/other_user}","gists_url":"https://api.github.com/users/abourget/gists{/gist_id}","starred_url":"https://api.github.com/users/abourget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abourget/subscriptions","organizations_url":"https://api.github.com/users/abourget/orgs","repos_url":"https://api.github.com/users/abourget/repos","events_url":"https://api.github.com/users/abourget/events{/privacy}","received_events_url":"https://api.github.com/users/abourget/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-29T02:26:16Z","updated_at":"2015-12-30T23:09:38Z","closed_at":null,"body":"Swagger 2.0 supports tags: https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md\r\n\r\nwould be great to have some annotation in the DSL for that!"},"comment":{"url":"https://api.github.com/repos/raphael/goa/issues/comments/168092306","html_url":"https://github.com/raphael/goa/issues/145#issuecomment-168092306","issue_url":"https://api.github.com/repos/raphael/goa/issues/145","id":168092306,"user":{"login":"abourget","id":93424,"avatar_url":"https://avatars.githubusercontent.com/u/93424?v=3","gravatar_id":"","url":"https://api.github.com/users/abourget","html_url":"https://github.com/abourget","followers_url":"https://api.github.com/users/abourget/followers","following_url":"https://api.github.com/users/abourget/following{/other_user}","gists_url":"https://api.github.com/users/abourget/gists{/gist_id}","starred_url":"https://api.github.com/users/abourget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abourget/subscriptions","organizations_url":"https://api.github.com/users/abourget/orgs","repos_url":"https://api.github.com/users/abourget/repos","events_url":"https://api.github.com/users/abourget/events{/privacy}","received_events_url":"https://api.github.com/users/abourget/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T23:09:38Z","updated_at":"2015-12-30T23:09:38Z","body":"Why not have some Metadata objects.. that Metadata() could receive ?\r\n```\r\ntype TagMetadata struct {\r\n    Name string\r\n    Description string\r\n    Docs string\r\n}\r\n```\r\n\r\ncouldn't we make `Metadata` accept `interface{}` as a second argument ? so generators could poke at the type.. would keep things structured, and optional as need be.\r\n\r\nWould look like:\r\n\r\n```\r\nMetadata(\"tags\", TagMetadata{Name: \"hello world\"})\r\n```"}}