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:
wing328
2017-03-09 11:12:01 +08:00
committed by GitHub
parent b6d6356c46
commit 4fe79f0078
66 changed files with 205 additions and 384 deletions

View File

@@ -211,9 +211,6 @@ use \{{invokerPackage}}\ObjectSerializer;
);
}
{{/pathParams}}
// default format to json
$resourcePath = str_replace("{format}", "json", $resourcePath);
{{#formParams}}
// form params
if (${{paramName}} !== null) {