Skip to content

Commit

Permalink
Fix formatting in params
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <[email protected]>
  • Loading branch information
peterbroadhurst committed Nov 12, 2023
1 parent b87b635 commit d59362a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ffapi/openapi3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}) {
Expand Down

0 comments on commit d59362a

Please sign in to comment.