mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-15 20:39:05 +00:00
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