forked from loafle/openapi-generator-original
Remove default format (JSON) from API operations (#4987)
* remove default format (json) and update ruby petstore * update python petstore sample * update php petstore sample * update android petstore sample * update java petstore sample * update objc sample * remove default format (json) from perl
This commit is contained in:
@@ -211,9 +211,6 @@ use \{{invokerPackage}}\ObjectSerializer;
|
||||
);
|
||||
}
|
||||
{{/pathParams}}
|
||||
// default format to json
|
||||
$resourcePath = str_replace("{format}", "json", $resourcePath);
|
||||
|
||||
{{#formParams}}
|
||||
// form params
|
||||
if (${{paramName}} !== null) {
|
||||
|
||||
Reference in New Issue
Block a user