Skip to content

Commit

Permalink
1772 http-client - improve URI and Base URI description
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbeslic committed Nov 28, 2024
1 parent f4fa3dc commit c38a154
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
public class HttpClientConnection {

public static final ModifiableConnectionDefinition CONNECTION_DEFINITION = connection()
.properties(string(BASE_URI).label("Base URI"))
.properties(string(BASE_URI).label("Base URI")
.description("If set, it will be combined HTTP Client Component URI attribute value."))
.authorizationRequired(false)
.authorizations(
authorization(Authorization.AuthorizationType.API_KEY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ public class HttpClientComponentConstants {

string(URI)
.label("URI")
.description("The URI to make the request to")
.description(
"The URI to make the request to. If HTTP Client Connection defines Base URI, then this value is appended to it.")
.exampleValue("/")
.placeholder("https://example.com/index.html")
.defaultValue("")
.required(true),
Expand Down

0 comments on commit c38a154

Please sign in to comment.