aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/openapi/openapi3/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/openapi/openapi3/init.go')
-rw-r--r--tpl/openapi/openapi3/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/openapi/openapi3/init.go b/tpl/openapi/openapi3/init.go
index a0084d503..8597e3294 100644
--- a/tpl/openapi/openapi3/init.go
+++ b/tpl/openapi/openapi3/init.go
@@ -26,7 +26,7 @@ func init() {
ns := &internal.TemplateFuncsNamespace{
Name: name,
- Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
+ Context: func(args ...any) (any, error) { return ctx, nil },
}
ns.AddMethodMapping(ctx.Unmarshal,