@@ -20,7 +20,7 @@ pub mod kube_redirect;
2020 params(
2121 ( "ns" = String , description = "Namespace" ) ,
2222 ( "cluster" = String , description = "Cluster name" ) ,
23- ( "path" = String , description = "Path to resource" )
23+ ( "path" = String , description = "Corresponding path to resource given to the kube api server " )
2424 )
2525) ]
2626#[ get( "/{ns}/{cluster}/{path:.*}" ) ]
@@ -48,7 +48,7 @@ pub async fn get_redirect(
4848 params(
4949 ( "ns" = String , description = "Namespace" ) ,
5050 ( "cluster" = String , description = "Cluster name" ) ,
51- ( "path" = String , description = "Path to resource" )
51+ ( "path" = String , description = "Corresponding path to resource given to the kube api server " )
5252 )
5353) ]
5454#[ post( "/{ns}/{cluster}/{path:.*}" ) ]
@@ -76,7 +76,7 @@ pub async fn post_redirect(
7676 params(
7777 ( "ns" = String , description = "Namespace" ) ,
7878 ( "cluster" = String , description = "Cluster name" ) ,
79- ( "path" = String , description = "Path to resource" )
79+ ( "path" = String , description = "Corresponding path to resource given to the kube api server " )
8080 )
8181) ]
8282#[ put( "/{ns}/{cluster}/{path:.*}" ) ]
@@ -104,7 +104,7 @@ pub async fn put_redirect(
104104 params(
105105 ( "ns" = String , description = "Namespace" ) ,
106106 ( "cluster" = String , description = "Cluster name" ) ,
107- ( "path" = String , description = "Path to resource" )
107+ ( "path" = String , description = "Corresponding path to resource given to the kube api server " )
108108 )
109109) ]
110110#[ patch( "/{ns}/{cluster}/{path:.*}" ) ]
@@ -132,7 +132,7 @@ pub async fn patch_redirect(
132132 params(
133133 ( "ns" = String , description = "Namespace" ) ,
134134 ( "cluster" = String , description = "Cluster name" ) ,
135- ( "path" = String , description = "Path to resource" )
135+ ( "path" = String , description = "Corresponding path to resource given to the kube api server " )
136136 )
137137) ]
138138#[ delete( "/{ns}/{cluster}/{path:.*}" ) ]
0 commit comments