Skip to content

Commit

Permalink
Make the annotations non-constant
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Aug 6, 2024
1 parent e79c22f commit 12504e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballerina/http_annotation.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 12504e2

Please sign in to comment.