forked from loafle/openapi-generator-original
better handle of single quote to avoid code injectio in php
This commit is contained in:
parent
1638adb79e
commit
ebd6ffaa4c
@ -61,6 +61,8 @@ public interface CodegenConfig {
|
|||||||
|
|
||||||
String escapeReservedWord(String name);
|
String escapeReservedWord(String name);
|
||||||
|
|
||||||
|
String escapeQuotationMark(String input);
|
||||||
|
|
||||||
String getTypeDeclaration(Property p);
|
String getTypeDeclaration(Property p);
|
||||||
|
|
||||||
String getTypeDeclaration(String name);
|
String getTypeDeclaration(String name);
|
||||||
|
@ -335,8 +335,8 @@ public class DefaultCodegen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove \t, \n, \r
|
// remove \t, \n, \r
|
||||||
// repalce \ with \\
|
// replace \ with \\
|
||||||
// repalce " with \"
|
// replace " with \"
|
||||||
// outter unescape to retain the original multi-byte characters
|
// outter unescape to retain the original multi-byte characters
|
||||||
// finally escalate characters avoiding code injection
|
// finally escalate characters avoiding code injection
|
||||||
return escapeUnsafeCharacters(StringEscapeUtils.unescapeJava(StringEscapeUtils.escapeJava(input).replace("\\/", "/")).replaceAll("[\\t\\n\\r]"," ").replace("\\", "\\\\").replace("\"", "\\\""));
|
return escapeUnsafeCharacters(StringEscapeUtils.unescapeJava(StringEscapeUtils.escapeJava(input).replace("\\/", "/")).replaceAll("[\\t\\n\\r]"," ").replace("\\", "\\\\").replace("\"", "\\\""));
|
||||||
@ -356,6 +356,16 @@ public class DefaultCodegen {
|
|||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Escape single and/or double quote to avoid code injection
|
||||||
|
* @param input String to be cleaned up
|
||||||
|
* @return string with quotation mark removed or escaped
|
||||||
|
*/
|
||||||
|
public String escapeQuotationMark(String input) {
|
||||||
|
LOGGER.info("### calling default escapeText");
|
||||||
|
return input.replace("\"", "\\\"");
|
||||||
|
}
|
||||||
|
|
||||||
public Set<String> defaultIncludes() {
|
public Set<String> defaultIncludes() {
|
||||||
return defaultIncludes;
|
return defaultIncludes;
|
||||||
}
|
}
|
||||||
@ -1763,7 +1773,7 @@ public class DefaultCodegen {
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
for (String key : consumes) {
|
for (String key : consumes) {
|
||||||
Map<String, String> mediaType = new HashMap<String, String>();
|
Map<String, String> mediaType = new HashMap<String, String>();
|
||||||
mediaType.put("mediaType", key);
|
mediaType.put("mediaType", escapeQuotationMark(key));
|
||||||
count += 1;
|
count += 1;
|
||||||
if (count < consumes.size()) {
|
if (count < consumes.size()) {
|
||||||
mediaType.put("hasMore", "true");
|
mediaType.put("hasMore", "true");
|
||||||
|
@ -663,6 +663,12 @@ public class PhpClientCodegen extends DefaultCodegen implements CodegenConfig {
|
|||||||
return objs;
|
return objs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String escapeQuotationMark(String input) {
|
||||||
|
// remove ' to avoid code injection
|
||||||
|
return input.replace("'", "");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String escapeUnsafeCharacters(String input) {
|
public String escapeUnsafeCharacters(String input) {
|
||||||
return input.replace("*/", "");
|
return input.replace("*/", "");
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
swagger: '2.0'
|
swagger: '2.0'
|
||||||
info:
|
info:
|
||||||
description: 'This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: " \ */ =end'
|
description: "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ */ ' \" =end"
|
||||||
version: 1.0.0 */ =end
|
version: 1.0.0 */ ' " =end
|
||||||
title: Swagger Petstore */ =end
|
title: Swagger Petstore */ ' " =end
|
||||||
termsOfService: 'http://swagger.io/terms/ */ =end'
|
termsOfService: 'http://swagger.io/terms/ */ =end'
|
||||||
contact:
|
contact:
|
||||||
email: apiteam@swagger.io */ =end
|
email: apiteam@swagger.io */ ' " =end
|
||||||
license:
|
license:
|
||||||
name: Apache 2.0 */ =end
|
name: Apache 2.0 */ ' " =end
|
||||||
url: 'http://www.apache.org/licenses/LICENSE-2.0.html */ =end'
|
url: 'http://www.apache.org/licenses/LICENSE-2.0.html */ =end'
|
||||||
host: petstore.swagger.io */ =end
|
host: petstore.swagger.io */ ' " =end
|
||||||
basePath: /v2 */ =end
|
basePath: /v2 */ ' " =end
|
||||||
tags:
|
tags:
|
||||||
- name: pet
|
- name: pet
|
||||||
description: Everything about your Pets
|
description: Everything about your Pets
|
||||||
@ -25,7 +25,7 @@ tags:
|
|||||||
description: Find out more about our store
|
description: Find out more about our store
|
||||||
url: 'http://swagger.io'
|
url: 'http://swagger.io'
|
||||||
schemes:
|
schemes:
|
||||||
- http */ end
|
- http */ end ' "
|
||||||
paths:
|
paths:
|
||||||
/pet:
|
/pet:
|
||||||
post:
|
post:
|
||||||
@ -569,7 +569,7 @@ paths:
|
|||||||
operationId: testCodeInject */ =end
|
operationId: testCodeInject */ =end
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
- '*/ =end'
|
- "*/ =end'));(phpinfo('"
|
||||||
produces:
|
produces:
|
||||||
- application/json
|
- application/json
|
||||||
- '*/ end'
|
- '*/ end'
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# SwaggerClient-php
|
# SwaggerClient-php
|
||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
|
|
||||||
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
||||||
|
|
||||||
- API version: 1.0.0 =end
|
- API version: 1.0.0 ' \" =end
|
||||||
- Build date: 2016-06-27T21:51:01.263+08:00
|
- Build date: 2016-06-28T00:52:15.530+08:00
|
||||||
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
|
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
@ -71,7 +71,7 @@ try {
|
|||||||
|
|
||||||
## Documentation for API Endpoints
|
## Documentation for API Endpoints
|
||||||
|
|
||||||
All URIs are relative to *https://petstore.swagger.io */ =end/v2 */ =end*
|
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
Class | Method | HTTP request | Description
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
@ -151,6 +151,6 @@ Class | Method | HTTP request | Description
|
|||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
apiteam@swagger.io =end
|
apiteam@swagger.io ' \" =end
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Swagger\Client\FakeApi
|
# Swagger\Client\FakeApi
|
||||||
|
|
||||||
All URIs are relative to *https://petstore.swagger.io */ =end/v2 */ =end*
|
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
@ -46,7 +46,7 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json, */ =end
|
- **Content-Type**: application/json, */ =end));(phpinfo(
|
||||||
- **Accept**: 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)
|
[[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)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Swagger\Client\PetApi
|
# Swagger\Client\PetApi
|
||||||
|
|
||||||
All URIs are relative to *https://petstore.swagger.io */ =end/v2 */ =end*
|
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Swagger\Client\StoreApi
|
# Swagger\Client\StoreApi
|
||||||
|
|
||||||
All URIs are relative to *https://petstore.swagger.io */ =end/v2 */ =end*
|
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Swagger\Client\UserApi
|
# Swagger\Client\UserApi
|
||||||
|
|
||||||
All URIs are relative to *https://petstore.swagger.io */ =end/v2 */ =end*
|
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -73,7 +73,7 @@ class FakeApi
|
|||||||
{
|
{
|
||||||
if ($apiClient == null) {
|
if ($apiClient == null) {
|
||||||
$apiClient = new ApiClient();
|
$apiClient = new ApiClient();
|
||||||
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ =end/v2 */ =end');
|
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ ' " =end/v2 */ ' " =end');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->apiClient = $apiClient;
|
$this->apiClient = $apiClient;
|
||||||
@ -138,7 +138,7 @@ class FakeApi
|
|||||||
if (!is_null($_header_accept)) {
|
if (!is_null($_header_accept)) {
|
||||||
$headerParams['Accept'] = $_header_accept;
|
$headerParams['Accept'] = $_header_accept;
|
||||||
}
|
}
|
||||||
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array('application/json','*/ =end'));
|
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array('application/json','*/ =end));(phpinfo('));
|
||||||
|
|
||||||
// default format to json
|
// default format to json
|
||||||
$resourcePath = str_replace("{format}", "json", $resourcePath);
|
$resourcePath = str_replace("{format}", "json", $resourcePath);
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -73,7 +73,7 @@ class PetApi
|
|||||||
{
|
{
|
||||||
if ($apiClient == null) {
|
if ($apiClient == null) {
|
||||||
$apiClient = new ApiClient();
|
$apiClient = new ApiClient();
|
||||||
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ =end/v2 */ =end');
|
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ ' " =end/v2 */ ' " =end');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->apiClient = $apiClient;
|
$this->apiClient = $apiClient;
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -73,7 +73,7 @@ class StoreApi
|
|||||||
{
|
{
|
||||||
if ($apiClient == null) {
|
if ($apiClient == null) {
|
||||||
$apiClient = new ApiClient();
|
$apiClient = new ApiClient();
|
||||||
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ =end/v2 */ =end');
|
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ ' " =end/v2 */ ' " =end');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->apiClient = $apiClient;
|
$this->apiClient = $apiClient;
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -73,7 +73,7 @@ class UserApi
|
|||||||
{
|
{
|
||||||
if ($apiClient == null) {
|
if ($apiClient == null) {
|
||||||
$apiClient = new ApiClient();
|
$apiClient = new ApiClient();
|
||||||
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ =end/v2 */ =end');
|
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ ' " =end/v2 */ ' " =end');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->apiClient = $apiClient;
|
$this->apiClient = $apiClient;
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -102,7 +102,7 @@ class Configuration
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $host = 'https://petstore.swagger.io */ =end/v2 */ =end';
|
protected $host = 'https://petstore.swagger.io */ ' " =end/v2 */ ' " =end';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Timeout (second) of the HTTP request, by default set to 0, no timeout
|
* Timeout (second) of the HTTP request, by default set to 0, no timeout
|
||||||
@ -522,7 +522,7 @@ class Configuration
|
|||||||
$report = 'PHP SDK (Swagger\Client) Debug Report:' . PHP_EOL;
|
$report = 'PHP SDK (Swagger\Client) Debug Report:' . PHP_EOL;
|
||||||
$report .= ' OS: ' . php_uname() . PHP_EOL;
|
$report .= ' OS: ' . php_uname() . PHP_EOL;
|
||||||
$report .= ' PHP Version: ' . phpversion() . PHP_EOL;
|
$report .= ' PHP Version: ' . phpversion() . PHP_EOL;
|
||||||
$report .= ' OpenAPI Spec Version: 1.0.0 =end' . PHP_EOL;
|
$report .= ' OpenAPI Spec Version: 1.0.0 ' \" =end' . PHP_EOL;
|
||||||
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
|
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
|
||||||
|
|
||||||
return $report;
|
return $report;
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swagger Petstore =end
|
* Swagger Petstore ' \" =end
|
||||||
*
|
*
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ =end
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
|
||||||
*
|
*
|
||||||
* OpenAPI spec version: 1.0.0 =end
|
* OpenAPI spec version: 1.0.0 ' \" =end
|
||||||
* Contact: apiteam@swagger.io =end
|
* Contact: apiteam@swagger.io ' \" =end
|
||||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user