@ -32,3 +32,5 @@ Links the value of the corresponding parameter to a query parameter. When invok
@@ -32,3 +32,5 @@ Links the value of the corresponding parameter to a query parameter. When invok
Links the value of the corresponding parameter to a header.
#### `@FormParam`
Links the value of the corresponding parameter to a key passed to `Encoder.Text<Map<String, Object>>.encode()`.
#### `@BeanParm`
Aggregates the above supported parameter annotations under a single value object.
@ -93,6 +96,12 @@ public class JakartaContract extends DeclarativeContract {
@@ -93,6 +96,12 @@ public class JakartaContract extends DeclarativeContract {
@ -113,7 +122,7 @@ public class JakartaContract extends DeclarativeContract {
@@ -113,7 +122,7 @@ public class JakartaContract extends DeclarativeContract {
checkState(emptyToNull(name)!=null,"PathParam.value() was empty on parameter %s",
@ -143,7 +152,63 @@ public class JakartaContract extends DeclarativeContract {
@@ -143,7 +152,63 @@ public class JakartaContract extends DeclarativeContract {
data.formParams().add(name);
nameParam(data,name,paramIndex);
});
// Reflect over the Bean Param looking for supported parameter annotations