-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashin…
…g it in 5.9.1 (#10529) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e4b21c6
commit 758a8f2
Showing
4 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,10 @@ def client(): | |
def test_swagger_ui_html(client: TestClient): | ||
response = client.get("/docs") | ||
assert response.status_code == 200, response.text | ||
assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text | ||
assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text | ||
assert ( | ||
"https://unpkg.com/[email protected]/swagger-ui-bundle.js" in response.text | ||
) | ||
assert "https://unpkg.com/[email protected]/swagger-ui.css" in response.text | ||
|
||
|
||
def test_swagger_ui_oauth2_redirect_html(client: TestClient): | ||
|