Skip to content

Commit 8ab83be

Browse files
committed
fix: added source of swagger redirect
1 parent ed1c241 commit 8ab83be

File tree

1 file changed

+2
-0
lines changed
  • aws_lambda_powertools/event_handler/openapi/swagger_ui

1 file changed

+2
-0
lines changed

aws_lambda_powertools/event_handler/openapi/swagger_ui/oauth2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class OAuth2UnsafeConfig(OAuth2Config):
5858
def generate_oauth2_redirect_html() -> str:
5959
"""
6060
Generates the HTML content for the OAuth2 redirect page.
61+
62+
Source: https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html
6163
"""
6264
return """
6365
<!doctype html>

0 commit comments

Comments
 (0)