Document ProvisioningController and ProvisioningConnectListener

This commit is contained in:
Jon Chambers
2024-09-30 10:42:53 -04:00
committed by Jon Chambers
parent 7a6ce00fed
commit 0a1161048f
4 changed files with 80 additions and 8 deletions

View File

@@ -5,7 +5,11 @@
package org.whispersystems.textsecuregcm.entities;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotEmpty;
public record ProvisioningMessage(@NotEmpty String body) {
public record ProvisioningMessage(
@Schema(description = "The MIME base64-encoded body of the provisioning message to send to the destination device")
@NotEmpty
String body) {
}