From 3a8e6a2be4916e4379d9b54e1c659c5b1ae01b1c Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 9 Nov 2021 17:26:45 +0100 Subject: [PATCH] Add MergedYaml to LintResult --- validate.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/validate.go b/validate.go index 2ca722787..d922d7c5c 100644 --- a/validate.go +++ b/validate.go @@ -33,9 +33,10 @@ type ValidateService struct { // // GitLab API docs: https://docs.gitlab.com/ce/api/lint.html type LintResult struct { - Status string `json:"status"` - Errors []string `json:"errors"` - Warnings []string `json:"warnings"` + Status string `json:"status"` + Errors []string `json:"errors"` + Warnings []string `json:"warnings"` + MergedYaml string `json:"merged_yaml"` } // ProjectLintResult represents the linting results by project.