Skip to content

Commit fd970aa

Browse files
authored
Merge pull request #11 from cgalibern/dev
Update GitHub webhook and API schema for consistency
2 parents 7a155b7 + 531d07e commit fd970aa

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/swagger/github.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: "3.0.0"
22
info:
33
title: github webhook receiver
4-
version: 0.2.0
4+
version: 0.2.1
55
paths:
66
/pullrequest:
77
post:
@@ -185,12 +185,15 @@ components:
185185
type: string
186186
closed_at:
187187
type: string
188+
nullable: true
188189
updated_at:
189190
type: string
191+
nullable: true
190192
merged_at:
191193
type: string
194+
nullable: true
192195
merged:
193-
type: bool
196+
type: boolean
194197
user:
195198
type: object
196199
required:

0 commit comments

Comments
 (0)