Really fix the build trigger schema and add a test for it
This commit is contained in:
parent
a5d0569e35
commit
09bb98f161
2 changed files with 4 additions and 8 deletions
|
@ -402,12 +402,8 @@ class ActivateBuildTrigger(RepositoryParamResource):
|
|||
'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.'
|
||||
'type': 'object',
|
||||
'description': '(SCM Only) If specified, the ref to build.'
|
||||
}
|
||||
},
|
||||
'additionalProperties': False
|
||||
|
|
Reference in a new issue