Check OpenAPI yaml files (#1094)

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
Gabriel Diaz 2020-12-23 18:16:17 -05:00 committed by GitHub
parent 8edccefb88
commit 3ce39c07d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -624,6 +624,16 @@ function BuildFileList() {
FILE_ARRAY_CLOUDFORMATION+=("${FILE}")
fi
############################
# Check if file is OpenAPI #
############################
if DetectOpenAPIFile "${FILE}"; then
################################
# Append the file to the array #
################################
FILE_ARRAY_OPENAPI+=("${FILE}")
fi
########################################
# Check if the file is Tekton template #
########################################