From 9b3aa43a5a638bc388a8e53b06a1049233b65b9f Mon Sep 17 00:00:00 2001 From: Denis Makogon Date: Thu, 19 Oct 2017 23:16:24 +0300 Subject: [PATCH] Swagger linter for CI --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb673c5eb..f2ec56e1a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,6 +35,7 @@ jobs: - run: ./api_test.sh mysql 4 - run: ./api_test.sh postgres 4 - run: ./api_test.sh sqlite 4 + - run: docker run --rm quay.io/goswagger/swagger validate https://raw.githubusercontent.com/fnproject/fn/${CIRCLE_BRANCH}/docs/swagger.yml - deploy: command: | if [[ "${CIRCLE_BRANCH}" == "master" && -z "${CIRCLE_PR_REPONAME}" ]]; then