Add missing JSON schema for 'refs' and 'branch_name'

Fixes #325
This commit is contained in:
Joseph Schorr 2015-08-07 13:01:49 -04:00
parent 44584ff0d8
commit 7ea4c7d17e
2 changed files with 15 additions and 0 deletions

View file

@ -400,6 +400,14 @@ class ActivateBuildTrigger(RepositoryParamResource):
'commit_sha': {
'type': 'string',
'description': '(Custom Only) If specified, the ref/SHA1 used to checkout a git repository.'
},
'refs': {
'type': 'array',
'description': '(SCM Only) If specified, the refs to build.'
},
'branch_name': {
'type': 'string',
'description': '(SCM Only) If specified, the branch to build.'
}
},
'additionalProperties': False