From c603e8182052cad97a88d32fd2ce154844893f2f Mon Sep 17 00:00:00 2001 From: Peter Broadhurst Date: Wed, 29 Nov 2023 11:25:04 -0500 Subject: [PATCH] Fix docs regression in parameter descriptions that changes swagger gen Signed-off-by: Peter Broadhurst --- pkg/ffapi/openapi3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ffapi/openapi3.go b/pkg/ffapi/openapi3.go index 41a0a3b..d37b89c 100644 --- a/pkg/ffapi/openapi3.go +++ b/pkg/ffapi/openapi3.go @@ -316,7 +316,7 @@ func (sg *SwaggerGen) addOutput(ctx context.Context, doc *openapi3.T, route *Rou } func (sg *SwaggerGen) AddParam(ctx context.Context, op *openapi3.Operation, in, name, def, example string, description i18n.MessageKey, deprecated bool, msgArgs ...interface{}) { - sg.addParamInternal(ctx, op, in, name, def, example, false, description, deprecated, msgArgs) + sg.addParamInternal(ctx, op, in, name, def, example, false, description, deprecated, msgArgs...) } func (sg *SwaggerGen) addParamInternal(ctx context.Context, op *openapi3.Operation, in, name, def, example string, isArray bool, description i18n.MessageKey, deprecated bool, msgArgs ...interface{}) {