Skip to content

Commit 5d2cd60

Browse files
Jamie Tannajamietanna
authored andcommitted
Add missing types to deprecation URLs
1 parent 81b4e34 commit 5d2cd60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/chi-middleware/oapi_validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type ErrorHandler func(w http.ResponseWriter, message string, statusCode int)
2323

2424
// MultiErrorHandler is called when oapi returns a MultiError type
2525
//
26-
// Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/nethttp-middleware#
26+
// Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/nethttp-middleware#MultiErrorHandler
2727
type MultiErrorHandler func(openapi3.MultiError) (int, error)
2828

2929
// Options to customize request validation, openapi3filter specified options will be passed through.

pkg/fiber-middleware/oapi_validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func OapiRequestValidatorWithOptions(swagger *openapi3.T, options *Options) fibe
102102
// ValidateRequestFromContext is called from the middleware above and actually does the work
103103
// of validating a request.
104104
//
105-
// Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/fiber-middleware#
105+
// Deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/fiber-middleware#ValidateRequestFromContext
106106
func ValidateRequestFromContext(c *fiber.Ctx, router routers.Router, options *Options) error {
107107

108108
r, err := adaptor.ConvertRequest(c, false)

0 commit comments

Comments
 (0)