package de.effigenix.infrastructure.usermanagement.web.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

/**
 * Request DTO for refreshing access token.
 *
 * Used by POST /api/auth/refresh endpoint.
 */
@Schema(description = "Refresh token request")
public record RefreshTokenRequest(
        @Schema(description = "Refresh token", required = true)
        @NotBlank(message = "Refresh token is required")
        String refreshToken
) {
}
