forked from loafle/openapi-generator-original
Merge pull request #2434 from arnested/php-map-number-without-format
[PHP] Map number without format to float
This commit is contained in:
@@ -96,6 +96,7 @@ public class PhpClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
typeMapping = new HashMap<String, String>();
|
||||
typeMapping.put("integer", "int");
|
||||
typeMapping.put("long", "int");
|
||||
typeMapping.put("number", "float");
|
||||
typeMapping.put("float", "float");
|
||||
typeMapping.put("double", "double");
|
||||
typeMapping.put("string", "string");
|
||||
|
||||
Reference in New Issue
Block a user