better code injectino handling for perl client

This commit is contained in:
wing328
2016-06-28 16:37:33 +08:00
parent 8dc22d2bda
commit 02864ed31a
71 changed files with 5616 additions and 96 deletions

View File

@@ -0,0 +1,55 @@
# WWW::SwaggerClient::FakeApi
## Load the API package
```perl
use WWW::SwaggerClient::Object::FakeApi;
```
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
Method | HTTP request | Description
------------- | ------------- | -------------
[**test_code_inject____end**](FakeApi.md#test_code_inject____end) | **PUT** /fake | To test code injection */ ' \"
# **test_code_inject____end**
> test_code_inject____end(test code inject */ ' " =end => $test code inject */ ' " =end)
To test code injection */ ' \"
### Example
```perl
use Data::Dumper;
my $api_instance = WWW::SwaggerClient::FakeApi->new();
my $test code inject */ ' " =end = 'test code inject */ ' " =end_example'; # string | To test code injection */ ' \"
eval {
$api_instance->test_code_inject____end(test code inject */ ' " =end => $test code inject */ ' " =end);
};
if ($@) {
warn "Exception when calling FakeApi->test_code_inject____end: $@\n";
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**test code inject */ ' " =end** | **string**| To test code injection */ ' \" | [optional]
### Return type
void (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json, */ " =end
- **Accept**: application/json, */ " =end
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,15 @@
# WWW::SwaggerClient::Object::ModelReturn
## Load the model package
```perl
use WWW::SwaggerClient::Object::ModelReturn;
```
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**return** | **int** | property description */ ' \" | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)