forked from loafle/openapi-generator-original
Merge pull request #1271 from laurentvdl/master
implement form parameter support using Angular $httpParamSerializer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user