diff options
Diffstat (limited to 'lib/api/ci/triggers.rb')
-rw-r--r-- | lib/api/ci/triggers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/ci/triggers.rb b/lib/api/ci/triggers.rb index c49f1c9e9e1..0531b17cf97 100644 --- a/lib/api/ci/triggers.rb +++ b/lib/api/ci/triggers.rb @@ -20,7 +20,8 @@ module API params do requires :ref, type: String, desc: 'The commit sha or name of a branch or tag', allow_blank: false requires :token, type: String, desc: 'The unique token of trigger or job token' - optional :variables, type: Hash, desc: 'The list of variables to be injected into build' + optional :variables, type: Hash, desc: 'The list of variables to be injected into build', + documentation: { type: Object, additional_properties: String } end post ":id/(ref/:ref/)trigger/pipeline", requirements: { ref: /.+/ } do Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab/-/issues/20758') |