mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 19:08:06 +01:00
Add docs to /v1/donations/redeem-receipt
This commit is contained in:
committed by
ravi-signal
parent
9a1da23bdb
commit
626a7fdad7
@@ -7,12 +7,16 @@ package org.whispersystems.textsecuregcm.entities;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
|
||||
public class RedeemReceiptRequest {
|
||||
|
||||
@Schema(description = "Presentation of a ZK receipt encoded in standard padded base64", implementation = String.class)
|
||||
private final byte[] receiptCredentialPresentation;
|
||||
@Schema(description = "If true, the corresponding badge should be visible on the profile")
|
||||
private final boolean visible;
|
||||
@Schema(description = "if true, and the new badge is visible, it should be the primary badge on the profile")
|
||||
private final boolean primary;
|
||||
|
||||
@JsonCreator
|
||||
|
||||
Reference in New Issue
Block a user