Add support for null ref, as that can be the value if a default branch is not chosen
This commit is contained in:
parent
a15abd3b5c
commit
0ab6388e30
2 changed files with 13 additions and 6 deletions
|
@ -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.'
|
||||
}
|
||||
},
|
||||
|
|
Reference in a new issue