Skip to content

Commit

Permalink
updated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
zoov-xavier authored and schmurfy committed Mar 13, 2024
1 parent f228679 commit c659846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (b *Builder) generateParametersDoc(ctx context.Context, swagger *openapi3.T
// pathStruct must contain all defined keys
paramField, found := pathField.Type.FieldByName(key)
if !found {
return errors.Errorf("wrong path struct, field %s expected on %s", key, requestObjectType.Name())
return errors.Errorf("wrong path struct, field %s expected on %+v %s", key, pathField, requestObjectType.Name())
}

schema, err := b.schema.GenerateSchemaFor(ctx, swagger, paramField.Type)
Expand Down

0 comments on commit c659846

Please sign in to comment.