{"action":"created","issue":{"url":"https://api.github.com/repos/pact-foundation/pact-go/issues/16","repository_url":"https://api.github.com/repos/pact-foundation/pact-go","labels_url":"https://api.github.com/repos/pact-foundation/pact-go/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pact-foundation/pact-go/issues/16/comments","events_url":"https://api.github.com/repos/pact-foundation/pact-go/issues/16/events","html_url":"https://github.com/pact-foundation/pact-go/issues/16","id":221937327,"number":16,"title":"Generated pact file does not abide by the pact specification concerning the 'provider_state' field","user":{"login":"mefellows","id":53900,"avatar_url":"https://avatars2.githubusercontent.com/u/53900?v=3","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false},"labels":[{"id":581890133,"url":"https://api.github.com/repos/pact-foundation/pact-go/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC","default":false},{"id":376631255,"url":"https://api.github.com/repos/pact-foundation/pact-go/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"mefellows","id":53900,"avatar_url":"https://avatars2.githubusercontent.com/u/53900?v=3","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false},"assignees":[{"login":"mefellows","id":53900,"avatar_url":"https://avatars2.githubusercontent.com/u/53900?v=3","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-04-15T09:12:41Z","updated_at":"2017-05-15T07:11:57Z","closed_at":"2017-05-15T07:11:57Z","body":"The generated pact files using pact-go differs from the ones generated with pact for java. Pact Go outputs 'provider_state' and for the java pact it outputs 'providerState'. According to the v2 of the pact specification it should be 'providerState'. This is due to the implementation coping the Ruby one.\r\n\r\nNeed to change 'provider_state' to 'providerState' at https://github.com/pact-foundation/pact-go/blob/master/dsl/interaction.go#L20\r\n\r\nSee https://github.com/pact-foundation/pact-js/issues/34\r\n\r\n<!---\r\n@huboard:{\"custom_state\":\"\",\"order\":15.5,\"milestone_order\":16}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/pact-foundation/pact-go/issues/comments/301394421","html_url":"https://github.com/pact-foundation/pact-go/issues/16#issuecomment-301394421","issue_url":"https://api.github.com/repos/pact-foundation/pact-go/issues/16","id":301394421,"user":{"login":"mefellows","id":53900,"avatar_url":"https://avatars2.githubusercontent.com/u/53900?v=3","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T07:11:57Z","updated_at":"2017-05-15T07:11:57Z","body":"Closed by 9002469b0319f47e414cb4900731413b334712a8."}}
{"actor":{"display_login":"mefellows"}}