lib/github: fix api milestone
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 13 Feb 2017 02:51:39 +0000 (21:51 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 13 Feb 2017 02:55:00 +0000 (21:55 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/github/api.nit

index bf7d653..744e391 100644 (file)
@@ -850,7 +850,7 @@ class Milestone
        serialize
 
        # The milestone id on Github.
-       var number: Int is writable
+       var number: nullable Int = null is writable
 
        # Milestone title.
        var title: String is writable
@@ -859,10 +859,10 @@ class Milestone
        var description: nullable String is writable
 
        # Count of opened issues linked to this milestone.
-       var open_issues: Int is writable
+       var open_issues: nullable Int = null is writable
 
        # Count of closed issues linked to this milestone.
-       var closed_issues: Int is writable
+       var closed_issues: nullable Int = null is writable
 
        # Milestone state.
        var state: nullable String is writable