Add support for null ref, as that can be the value if a default branch is not chosen

This commit is contained in:
Joseph Schorr 2017-03-07 20:39:42 -05:00
parent a15abd3b5c
commit 0ab6388e30
2 changed files with 13 additions and 6 deletions

View file

@ -404,7 +404,7 @@ class ActivateBuildTrigger(RepositoryParamResource):
'description': '(Custom Only) If specified, the ref/SHA1 used to checkout a git repository.'
},
'refs': {
'type': 'object',
'type': ['object', 'null'],
'description': '(SCM Only) If specified, the ref to build.'
}
},