William Cheng 4e2ece4b51
[Perl] minor improvements (#8967)
* update perl readme, test files

* update perl test files

* update readme
2021-03-13 21:48:00 +08:00

59 lines
1.5 KiB
Perl

=begin comment
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by OpenAPI Generator
# Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech
#
use Test::More tests => 1; #TODO update number of test cases
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
use_ok('WWW::OpenAPIClient::StoreApi');
my $api = WWW::OpenAPIClient::StoreApi->new();
isa_ok($api, 'WWW::OpenAPIClient::StoreApi');
#
# delete_order test
#
# uncomment below and update the test
#my $delete_order_order_id = undef; # replace NULL with a proper value
#my $delete_order_result = $api->delete_order(order_id => $delete_order_order_id);
#
# get_inventory test
#
# uncomment below and update the test
#my $get_inventory_result = $api->get_inventory();
#
# get_order_by_id test
#
# uncomment below and update the test
#my $get_order_by_id_order_id = undef; # replace NULL with a proper value
#my $get_order_by_id_result = $api->get_order_by_id(order_id => $get_order_by_id_order_id);
#
# place_order test
#
# uncomment below and update the test
#my $place_order_order = undef; # replace NULL with a proper value
#my $place_order_result = $api->place_order(order => $place_order_order);