Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ponytailer committed Oct 11, 2021
1 parent cc7fc69 commit cb92b3e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.1.15 2021-10-11
-----------------
* ignore some endpoints

0.1.12 2021-09-29
-----------------
* the default response schema
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "schema_validator"
version = "0.1.14"
version = "0.1.15"
description = "A flask extension to provide schema validation with pydantic."
authors = ["hs <[email protected]>"]
classifiers = [
Expand Down
3 changes: 2 additions & 1 deletion schema_validator/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ def _build_openapi_schema(

for rule in app.url_map.iter_rules():
if rule.endpoint in [
"static", "openapi", "swagger_ui"
"static", "openapi", "swagger_ui",
"swagger_ui_tag", "openapi_tag"
]:
continue

Expand Down

0 comments on commit cb92b3e

Please sign in to comment.