This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.22 by this push:
     new 2359061f663 api: remove required flag of gatewayid in 
CreateStaticRouteCmd (#12786)
2359061f663 is described below

commit 2359061f663a0003dda83fd3ecb60343a440e935
Author: Wei Zhou <[email protected]>
AuthorDate: Thu Mar 12 09:12:09 2026 +0100

    api: remove required flag of gatewayid in CreateStaticRouteCmd (#12786)
---
 .../org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java
 
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java
index 15a31d48db1..36af1ee7148 100644
--- 
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java
+++ 
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java
@@ -46,7 +46,6 @@ public class CreateStaticRouteCmd extends BaseAsyncCreateCmd {
     @Parameter(name = ApiConstants.GATEWAY_ID,
                type = CommandType.UUID,
                entityType = PrivateGatewayResponse.class,
-               required = true,
                description = "The gateway ID we are creating static route for. 
Mutually exclusive with the nexthop parameter")
     private Long gatewayId;
 

Reply via email to