Skip to content

Commit 77d481c

Browse files
authored
Merge pull request #281 from netlify/fix-createSiteBuildHook-params
Fix createSiteBuildHook and updateSiteBuildHook params
2 parents 706edd6 + 010121e commit 77d481c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

swagger.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ paths:
516516
- name: buildHook
517517
in: body
518518
schema:
519-
$ref: '#/definitions/buildHook'
519+
$ref: '#/definitions/buildHookSetup'
520520
required: true
521521
responses:
522522
'201':
@@ -554,7 +554,7 @@ paths:
554554
- name: buildHook
555555
in: body
556556
schema:
557-
$ref: '#/definitions/buildHook'
557+
$ref: '#/definitions/buildHookSetup'
558558
required: true
559559
responses:
560560
'204':
@@ -2801,6 +2801,13 @@ definitions:
28012801
type: boolean
28022802
minify:
28032803
type: boolean
2804+
buildHookSetup:
2805+
type: object
2806+
properties:
2807+
title:
2808+
type: string
2809+
branch:
2810+
type: string
28042811
buildHook:
28052812
type: object
28062813
properties:

0 commit comments

Comments
 (0)