Open
Description
Describe the bug
azure supports this in RestProxy as
@ReturnValueWireType(Base64Url.class)
Mono<Response<List<byte[]>>> getBase64Url(@HostParam("$host") String host, @HeaderParam("Accept") String accept,
Context context);
@ReturnValueWireType
would handle the de-serialization.
In clientcore, Base64Uri
would work after we add returnValueWireType = Base64Uri.class
.
However, byte[]
with Base64 encode is not handled.
Reproduction
http-specs test
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.