implement form parameter support using Angular $httpParamSerializer

This commit is contained in:
Laurent Van der Linden
2015-09-22 08:37:49 +02:00
parent 98ff2d231f
commit 1cd8141645
2 changed files with 25 additions and 3 deletions

View File

@@ -77,4 +77,13 @@ public class CodegenOperation {
return nonempty(pathParams);
}
/**
* Check if there's at least one form parameter
*
* @return true if any form parameter exists, false otherwise
*/
public boolean getHasFormParams() {
return nonempty(formParams);
}
}