Browse Source

minor

tags/v12.2.0-alpha2
Gerasimos (Makis) Maropoulos 6 months ago
parent
commit
72c2dafd2e
No known key found for this signature in database GPG Key ID: 5DBE766BD26A54E7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      versioning/deprecation.go

+ 2
- 1
versioning/deprecation.go View File

@@ -55,7 +55,8 @@ func WriteDeprecated(ctx *context.Context, options DeprecationOptions) {
}
}

// Deprecated marks a specific handler as a deprecated.
// Deprecated wraps an existing API handler and
// marks it as a deprecated one.
// Deprecated can be used to tell the clients that
// a newer version of that specific resource is available instead.
func Deprecated(handler context.Handler, options DeprecationOptions) context.Handler {


Loading…
Cancel
Save