Skip to content

Commit

Permalink
Update apispec package to 0.39.0
Browse files Browse the repository at this point in the history
Addresses #3356

- New `prance` package is used for `validate_spec`
- Additional imports needed for swagger tests
  • Loading branch information
lbeaufort committed Sep 5, 2018
1 parent 6ff7924 commit e851aa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apispec==0.19.0
apispec==0.39.0
cfenv==0.5.2
invoke==0.15.0
psycopg2==2.7.1
Expand All @@ -25,6 +25,7 @@ git+https://github.com/18F/slate.git

# Marshalling
flask-apispec==0.6.0.post0
prance==0.13.1
marshmallow==2.6.0
marshmallow-sqlalchemy==0.8.0
git+https://github.com/jmcarp/marshmallow-pagination@master
Expand Down
5 changes: 4 additions & 1 deletion tests/test_swagger.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import unittest

from apispec import utils, exceptions

import webservices.rest
import webservices.schemas # needed to generate full spec
from webservices.spec import spec, format_docstring


class TestSwagger(unittest.TestCase):

def test_swagger_valid(self):
Expand Down

0 comments on commit e851aa5

Please sign in to comment.