William Cheng d7d994620c
Add multiple inheritance support to Perl client (#1681)
* add multiple inheritance support to perl client

* remove allof test from fake petstore
2018-12-17 15:28:20 +08:00

1.1 KiB

WWW::OpenAPIClient::DefaultApi

Load the API package

use WWW::OpenAPIClient::Object::DefaultApi;

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
foo_get GET /foo

foo_get

InlineResponseDefault foo_get()

Example

use Data::Dumper;
use WWW::OpenAPIClient::DefaultApi;
my $api_instance = WWW::OpenAPIClient::DefaultApi->new(
);


eval { 
    my $result = $api_instance->foo_get();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->foo_get: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

InlineResponseDefault

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]