Skip to content

Commit

Permalink
Add ability to check openapi responses.
Browse files Browse the repository at this point in the history
This can be used to ensure all API endpoints support common responses.
Path to responses.yaml needs to be provied via config `pyramid_openapi3_responses_config`
  • Loading branch information
mandarvaze committed Oct 18, 2019
1 parent 5d77dcb commit 22728b4
Show file tree
Hide file tree
Showing 6 changed files with 371 additions and 100 deletions.
7 changes: 7 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ force_single_line=true
atomic=true
force_alphabetical_sort=true
not_skip=__init__.py
# https://black.readthedocs.io/en/stable/the_black_code_style.html?highlight=isort#how-black-wraps-lines
# Search for : A compatible `.isort.cfg`
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name = "pypi"

[packages]
pyramid-openapi3 = {editable = true,path = "."}
structlog = "*"

[dev-packages]
black = "==19.3b0"
Expand Down
Loading

0 comments on commit 22728b4

Please sign in to comment.