add license to java okhttp client

This commit is contained in:
wing328 2016-06-09 16:20:57 +08:00
parent 2d170fd7a6
commit 0a3a47dbd4
47 changed files with 967 additions and 772 deletions

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}};
import java.util.Map;

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}}.auth;
import {{invokerPackage}}.Pair;

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}}.auth;
import {{invokerPackage}}.Pair;

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}}.auth;
import {{invokerPackage}}.Pair;

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}}.auth;
import {{invokerPackage}}.Pair;

View File

@ -1,3 +1,5 @@
{{>licenseInfo}}
package {{invokerPackage}}.auth;
public enum OAuthFlow {

View File

@ -0,0 +1,23 @@
/**
* {{{appName}}}
* {{{appDescription}}}
*
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import java.io.IOException;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import com.squareup.okhttp.Call;

View File

@ -1,3 +1,28 @@
/**
* Swagger 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: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.client;
import java.util.Map;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import java.util.List;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import com.google.gson.Gson;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import com.squareup.okhttp.MediaType;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;
import com.squareup.okhttp.MediaType;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.api;
import io.swagger.client.ApiCallback;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.api;
import io.swagger.client.ApiCallback;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.api;
import io.swagger.client.ApiCallback;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.api;
import io.swagger.client.ApiCallback;

View File

@ -1,3 +1,28 @@
/**
* Swagger 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: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.client.auth;
import io.swagger.client.Pair;

View File

@ -1,3 +1,28 @@
/**
* Swagger 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: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.client.auth;
import io.swagger.client.Pair;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.auth;
import io.swagger.client.Pair;

View File

@ -1,3 +1,28 @@
/**
* Swagger 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: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.client.auth;
import io.swagger.client.Pair;

View File

@ -1,3 +1,28 @@
/**
* Swagger 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: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.client.auth;
public enum OAuthFlow {

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;

View File

@ -22,6 +22,7 @@
* limitations under the License.
*/
package io.swagger.client.model;
import java.util.Objects;