Skip to content

Commit

Permalink
Merge branch 'middleware' of github-personal:xmidt-org/caduceus into …
Browse files Browse the repository at this point in the history
…middleware
  • Loading branch information
maurafortino committed Jan 16, 2024
2 parents d633574 + 8aa41fb commit 132c6c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func provideCoreOption(server string, in RoutesIn) arrangehttp.Option[http.Serve
if in.PreviousVersionSupport {
urlPrefix = fmt.Sprintf("/%s", apiBaseDualVersion)
}

Check warning on line 67 in routes.go

View check run for this annotation

Codecov / codecov/patch

routes.go#L64-L67

Added lines #L64 - L67 were not covered by tests

mux := chi.NewMux()
// TODO: should probably customize things a bit
mux.Use(recovery.Middleware(recovery.WithStatusCode(555)))
Expand Down

0 comments on commit 132c6c5

Please sign in to comment.