Skip to content

Conversation

wing328
Copy link
Contributor

@wing328 wing328 commented May 27, 2015

This PR will allow developers to easily customize APIClient and use it to initialise the API class (e.g. PetApi)

It also allows developers to skip the initialisation of a new APIClient as the API class (e.g. PetApi) will automatically construct a new default API client if no client has been initialised. For example, the following line becomes optional:

my $api_client = WWW::SwaggerClient::APIClient->new();

Added test cases to cover the new Configuration object.

@wing328 wing328 changed the title [Perl] Make API client more pluggable #778 [Perl] Make API client more pluggable (ref: #778) May 30, 2015
fehguy added a commit that referenced this pull request Jun 5, 2015
[Perl] Make API client more pluggable (ref: #778)
@fehguy fehguy merged commit d9fcb77 into swagger-api:develop_2.0 Jun 5, 2015
@wing328 wing328 deleted the perl_apiinvoker_instance branch January 22, 2016 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants