@@ -611,6 +611,8 @@ pub struct Environment {
611611 pub base : bool ,
612612 pub parent_model : String ,
613613 pub parent_id : Option < String > ,
614+ /// Variables defined in this environment scope.
615+ /// Child environments override parent variables by name.
614616 pub variables : Vec < EnvironmentVariable > ,
615617 pub color : Option < String > ,
616618 pub sort_priority : f64 ,
@@ -845,6 +847,8 @@ pub struct HttpUrlParameter {
845847 #[ serde( default = "default_true" ) ]
846848 #[ ts( optional, as = "Option<bool>" ) ]
847849 pub enabled : bool ,
850+ /// Colon-prefixed parameters are treated as path parameters if they match, like `/users/:id`
851+ /// Other entries are appended as query parameters
848852 pub name : String ,
849853 pub value : String ,
850854 #[ ts( optional, as = "Option<String>" ) ]
@@ -877,6 +881,7 @@ pub struct HttpRequest {
877881 pub name : String ,
878882 pub sort_priority : f64 ,
879883 pub url : String ,
884+ /// URL parameters used for both path placeholders (`:id`) and query string entries.
880885 pub url_parameters : Vec < HttpUrlParameter > ,
881886}
882887
@@ -1118,6 +1123,7 @@ pub struct WebsocketRequest {
11181123 pub name : String ,
11191124 pub sort_priority : f64 ,
11201125 pub url : String ,
1126+ /// URL parameters used for both path placeholders (`:id`) and query string entries.
11211127 pub url_parameters : Vec < HttpUrlParameter > ,
11221128}
11231129
@@ -1728,6 +1734,7 @@ pub struct GrpcRequest {
17281734 pub name : String ,
17291735 pub service : Option < String > ,
17301736 pub sort_priority : f64 ,
1737+ /// Server URL (http for plaintext or https for secure)
17311738 pub url : String ,
17321739}
17331740
0 commit comments