mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
update indentation, remove export
This commit is contained in:
parent
82baa7ce4b
commit
64b46c2e15
@ -30,12 +30,6 @@ use Log::Any qw($log);
|
|||||||
use WWW::{{moduleName}}::ApiClient;
|
use WWW::{{moduleName}}::ApiClient;
|
||||||
use WWW::{{moduleName}}::Configuration;
|
use WWW::{{moduleName}}::Configuration;
|
||||||
|
|
||||||
{{#operations}}
|
|
||||||
our @EXPORT_OK = qw(
|
|
||||||
{{#operation}}{{{nickname}}}
|
|
||||||
{{/operation}}
|
|
||||||
);
|
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my $class = shift;
|
my $class = shift;
|
||||||
my $default_api_client = $WWW::{{moduleName}}::Configuration::api_client ? $WWW::{{moduleName}}::Configuration::api_client : WWW::{{moduleName}}::ApiClient->new;
|
my $default_api_client = $WWW::{{moduleName}}::Configuration::api_client ? $WWW::{{moduleName}}::Configuration::api_client : WWW::{{moduleName}}::ApiClient->new;
|
||||||
@ -52,6 +46,7 @@ sub new {
|
|||||||
bless \%self, $class;
|
bless \%self, $class;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
{{#operations}}
|
||||||
|
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user