File tree Expand file tree Collapse file tree
main/scala/github4s/domain
test/scala/github4s/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,14 +69,14 @@ final case class Release(
6969 draft : Boolean ,
7070 prerelease : Boolean ,
7171 created_at : String ,
72- published_at : String ,
72+ published_at : Option [ String ] ,
7373 author : Option [User ],
7474 url : String ,
7575 html_url : String ,
7676 assets_url : String ,
7777 upload_url : String ,
78- tarball_url : String ,
79- zipball_url : String
78+ tarball_url : Option [ String ] ,
79+ zipball_url : Option [ String ]
8080)
8181
8282final case class Content (
Original file line number Diff line number Diff line change @@ -265,14 +265,14 @@ trait TestData {
265265 draft = false ,
266266 prerelease = false ,
267267 created_at = " 2011-04-10T20:09:31Z" ,
268- published_at = " 2011-04-10T20:09:31Z" ,
268+ published_at = Some ( " 2011-04-10T20:09:31Z" ) ,
269269 author = Some (user),
270270 url = githubApiUrl,
271271 html_url = githubApiUrl,
272272 assets_url = githubApiUrl,
273273 upload_url = githubApiUrl,
274- tarball_url = githubApiUrl,
275- zipball_url = githubApiUrl
274+ tarball_url = Some ( githubApiUrl) ,
275+ zipball_url = Some ( githubApiUrl)
276276 )
277277
278278 val content = Content (
You can’t perform that action at this time.
0 commit comments