From 4759b16a8558c05192898ce6317714f758136933 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 2 Feb 2026 15:05:15 +0100 Subject: [PATCH] Mark GetAnnotationParams as obsolete (PSPDF Kit deprecated) Added [Obsolete] attribute to GetAnnotationParams in ConfigController to indicate that PSPDF Kit will no longer be used and the method is deprecated. This warns developers to avoid using this method in future development. --- EnvelopeGenerator.API/Controllers/ConfigController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EnvelopeGenerator.API/Controllers/ConfigController.cs b/EnvelopeGenerator.API/Controllers/ConfigController.cs index d2f758ea..81aa23c0 100644 --- a/EnvelopeGenerator.API/Controllers/ConfigController.cs +++ b/EnvelopeGenerator.API/Controllers/ConfigController.cs @@ -22,6 +22,7 @@ public class ConfigController(IOptionsMonitor annotationParams /// Returns annotation configuration that was previously rendered by MVC. /// [HttpGet("Annotations")] + [Obsolete("PSPDF Kit will no longer be used.")] public IActionResult GetAnnotationParams() { return Ok(_annotationParams.AnnotationJSObject);