Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbox committed Nov 30, 2023
1 parent 99bc046 commit 1783021
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions connexion/middleware/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class MiddlewarePosition(enum.Enum):
instead of on an operation level.
Useful for CORS middleware which should be applied before the exception middleware.
:meta hide-value:
"""
BEFORE_SWAGGER = SwaggerUIMiddleware
Expand Down
3 changes: 0 additions & 3 deletions connexion/middleware/server_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ class ServerErrorMiddleware(StarletteServerErrorMiddleware):

def __init__(self, next_app: ASGIApp):
super().__init__(next_app)

async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
await super().__call__(scope, receive, send)

0 comments on commit 1783021

Please sign in to comment.