From 12504e245a87ec519532de2531296bc76d43fc68 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Tue, 6 Aug 2024 08:18:00 +0530 Subject: [PATCH] Make the annotations non-constant --- ballerina/http_annotation.bal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ballerina/http_annotation.bal b/ballerina/http_annotation.bal index d22a63c7f2..d2930b898d 100644 --- a/ballerina/http_annotation.bal +++ b/ballerina/http_annotation.bal @@ -113,13 +113,13 @@ public type HttpHeader record {| |}; # The annotation which is used to define the Header resource signature parameter. -public const annotation HttpHeader Header on parameter; +public annotation HttpHeader Header on parameter; # Defines the query resource signature parameter. public type HttpQuery record {||}; # The annotation which is used to define the query resource signature parameter. -public const annotation HttpQuery Query on parameter; +public annotation HttpQuery Query on parameter; # Defines the HTTP response cache configuration. By default the `no-cache` directive is setted to the `cache-control` # header. In addition to that `etag` and `last-modified` headers are also added for cache validation.