add decimal mapping in perl client gen (#12897)

This commit is contained in:
William Cheng
2022-07-17 13:10:53 +08:00
committed by GitHub
parent 75895e18bc
commit f05dd12b43
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,6 @@ use Log::Any qw($log);
use Date::Parse;
use DateTime;
use WWW::OpenAPIClient::Object::Decimal;
use base ("Class::Accessor", "Class::Data::Inheritable");
@@ -257,7 +256,7 @@ __PACKAGE__->method_documentation({
read_only => '',
},
'decimal' => {
datatype => 'Decimal',
datatype => 'double',
base_name => 'decimal',
description => '',
format => '',
@@ -335,7 +334,7 @@ __PACKAGE__->openapi_types( {
'number' => 'double',
'float' => 'double',
'double' => 'double',
'decimal' => 'Decimal',
'decimal' => 'double',
'string' => 'string',
'byte' => 'string',
'binary' => 'string',