forked from loafle/openapi-generator-original
name rebuilds, tests
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-client</artifactId>
|
||||
<artifactId>swagger-android-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>swagger-client</name>
|
||||
<name>swagger-android-client</name>
|
||||
<version>1.0.0</version>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:wordnik/swagger-mustache.git</connection>
|
||||
|
||||
@@ -59,7 +59,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/json","application/xml"
|
||||
"application/json","application/xml",
|
||||
};
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
|
||||
@@ -114,7 +114,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/json","application/xml"
|
||||
"application/json","application/xml",
|
||||
};
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
|
||||
@@ -338,7 +338,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/x-www-form-urlencoded"
|
||||
"application/x-www-form-urlencoded",
|
||||
};
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
|
||||
@@ -459,7 +459,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"multipart/form-data"
|
||||
"multipart/form-data",
|
||||
};
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-client</artifactId>
|
||||
<artifactId>swagger-java-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>swagger-client</name>
|
||||
<name>swagger-java-client</name>
|
||||
<version>1.0.0</version>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:wordnik/swagger-mustache.git</connection>
|
||||
|
||||
@@ -57,7 +57,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/json","application/xml"
|
||||
"application/json","application/xml",
|
||||
};
|
||||
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
@@ -107,7 +107,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/json","application/xml"
|
||||
"application/json","application/xml",
|
||||
};
|
||||
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
@@ -315,7 +315,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"application/x-www-form-urlencoded"
|
||||
"application/x-www-form-urlencoded",
|
||||
};
|
||||
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
@@ -429,7 +429,7 @@ public class PetApi {
|
||||
|
||||
|
||||
String[] contentTypes = {
|
||||
"multipart/form-data"
|
||||
"multipart/form-data",
|
||||
};
|
||||
|
||||
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
|
||||
|
||||
@@ -47,7 +47,7 @@ class PetApi {
|
||||
if ($_header_accept !== '') {
|
||||
$headerParams['Accept'] = $_header_accept;
|
||||
}
|
||||
$_header_content_type = array('application/json','application/xml');
|
||||
$_header_content_type = array('application/json','application/xml',);
|
||||
$headerParams['Content-Type'] = count($_header_content_type) > 0 ? $_header_content_type[0] : 'application/json';
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ class PetApi {
|
||||
if ($_header_accept !== '') {
|
||||
$headerParams['Accept'] = $_header_accept;
|
||||
}
|
||||
$_header_content_type = array('application/json','application/xml');
|
||||
$_header_content_type = array('application/json','application/xml',);
|
||||
$headerParams['Content-Type'] = count($_header_content_type) > 0 ? $_header_content_type[0] : 'application/json';
|
||||
|
||||
|
||||
@@ -310,7 +310,7 @@ class PetApi {
|
||||
if ($_header_accept !== '') {
|
||||
$headerParams['Accept'] = $_header_accept;
|
||||
}
|
||||
$_header_content_type = array('application/x-www-form-urlencoded');
|
||||
$_header_content_type = array('application/x-www-form-urlencoded',);
|
||||
$headerParams['Content-Type'] = count($_header_content_type) > 0 ? $_header_content_type[0] : 'application/json';
|
||||
|
||||
|
||||
@@ -420,7 +420,7 @@ class PetApi {
|
||||
if ($_header_accept !== '') {
|
||||
$headerParams['Accept'] = $_header_accept;
|
||||
}
|
||||
$_header_content_type = array('multipart/form-data');
|
||||
$_header_content_type = array('multipart/form-data',);
|
||||
$headerParams['Content-Type'] = count($_header_content_type) > 0 ? $_header_content_type[0] : 'application/json';
|
||||
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.wordnik</groupId>
|
||||
<artifactId>swagger-client</artifactId>
|
||||
<artifactId>swagger-scala-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>swagger-client</name>
|
||||
<name>swagger-scala-client</name>
|
||||
<version>1.0.0</version>
|
||||
<prerequisites>
|
||||
<maven>2.2.0</maven>
|
||||
|
||||
Reference in New Issue
Block a user