Skip to content

Commit

Permalink
Merge pull request hyperledger#112 from hyperledger/swagger-braces
Browse files Browse the repository at this point in the history
Fix docs regression in parameter descriptions that changes swagger gen
  • Loading branch information
nguyer authored Nov 29, 2023
2 parents 43e860e + c603e81 commit 88b4240
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 88b4240

Please sign in to comment.