build example Swagger request and response bodies from our API tests

This commit is contained in:
Ryan Petrello
2018-02-03 13:36:15 -05:00
parent 527594285f
commit 7ff9f0b7d1
4 changed files with 118 additions and 46 deletions

View File

@@ -367,7 +367,7 @@ swagger: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi; \
(set -o pipefail && py.test awx/main/tests/docs --release=$(RELEASE_VERSION) | tee reports/$@.report)
(set -o pipefail && py.test awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs --release=$(SWAGGER_RELEASE_VERSION:-$RELEASE_VERSION) | tee reports/$@.report)
check: flake8 pep8 # pyflakes pylint