Fix problems in typescript jquery generator (#801)

* Add missing curly bracket + remove unnecessary `postProcessParameter` because it add 2 time "models."

* Add generated client for samples
This commit is contained in:
Jean-François Côté
2018-08-20 08:44:46 -04:00
committed by GitHub
parent e605882451
commit ee491a0e5e
14 changed files with 110 additions and 143 deletions

View File

@@ -134,15 +134,6 @@ public class TypeScriptJqueryClientCodegen extends AbstractTypeScriptClientCodeg
return addModelPrefix(name);
}
@Override
public void postProcessParameter(CodegenParameter parameter) {
super.postProcessParameter(parameter);
if (!parameter.isEnum) {
parameter.dataType = addModelPrefix(parameter.dataType);
}
}
@Override
protected void addAdditionPropertiesToCodeGenModel(CodegenModel codegenModel, Schema schema) {
codegenModel.additionalPropertiesType = getSchemaType((Schema) schema.getAdditionalProperties());

View File

@@ -238,7 +238,7 @@ export class {{classname}} {
>();
$.ajax(requestOptions).then(
(data: {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}any{{/returnType}}, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);

View File

@@ -1 +1 @@
2.4.0-SNAPSHOT
3.2.1-SNAPSHOT

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -49,9 +49,9 @@ export class PetApi {
/**
*
* @summary Add a new pet to the store
* @param body Pet object that needs to be added to the store
* @param pet Pet object that needs to be added to the store
*/
public addPet(body: models.Pet, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public addPet(pet: models.Pet, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -59,9 +59,9 @@ export class PetApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling addPet.');
// verify required parameter 'pet' is not null or undefined
if (pet === null || pet === undefined) {
throw new Error('Required parameter pet was null or undefined when calling addPet.');
}
@@ -74,8 +74,6 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
// authentication (petstore_auth) required
@@ -97,7 +95,7 @@ export class PetApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(pet);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -116,7 +114,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -152,8 +150,6 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
// authentication (petstore_auth) required
@@ -191,7 +187,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -266,7 +262,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: Array<models.Pet>, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -341,7 +337,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: Array<models.Pet>, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -409,7 +405,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: models.Pet, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -419,9 +415,9 @@ export class PetApi {
/**
*
* @summary Update an existing pet
* @param body Pet object that needs to be added to the store
* @param pet Pet object that needs to be added to the store
*/
public updatePet(body: models.Pet, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public updatePet(pet: models.Pet, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -429,9 +425,9 @@ export class PetApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling updatePet.');
// verify required parameter 'pet' is not null or undefined
if (pet === null || pet === undefined) {
throw new Error('Required parameter pet was null or undefined when calling updatePet.');
}
@@ -444,8 +440,6 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
// authentication (petstore_auth) required
@@ -467,7 +461,7 @@ export class PetApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(pet);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -486,7 +480,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -531,8 +525,6 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
// authentication (petstore_auth) required
@@ -578,7 +570,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -668,7 +660,7 @@ export class PetApi {
>();
$.ajax(requestOptions).then(
(data: models.ApiResponse, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -72,8 +72,6 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -102,7 +100,7 @@ export class StoreApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -163,7 +161,7 @@ export class StoreApi {
>();
$.ajax(requestOptions).then(
(data: { [key: string]: number; }, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -226,7 +224,7 @@ export class StoreApi {
>();
$.ajax(requestOptions).then(
(data: models.Order, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -236,9 +234,9 @@ export class StoreApi {
/**
*
* @summary Place an order for a pet
* @param body order placed for purchasing the pet
* @param order order placed for purchasing the pet
*/
public placeOrder(body: models.Order, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public placeOrder(order: models.Order, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body: models.Order; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -246,9 +244,9 @@ export class StoreApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling placeOrder.');
// verify required parameter 'order' is not null or undefined
if (order === null || order === undefined) {
throw new Error('Required parameter order was null or undefined when calling placeOrder.');
}
@@ -273,7 +271,7 @@ export class StoreApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(order);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -292,7 +290,7 @@ export class StoreApi {
>();
$.ajax(requestOptions).then(
(data: models.Order, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -49,9 +49,9 @@ export class UserApi {
/**
* This can only be done by the logged in user.
* @summary Create user
* @param body Created user object
* @param user Created user object
*/
public createUser(body: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public createUser(user: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -59,9 +59,9 @@ export class UserApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling createUser.');
// verify required parameter 'user' is not null or undefined
if (user === null || user === undefined) {
throw new Error('Required parameter user was null or undefined when calling createUser.');
}
@@ -72,8 +72,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -86,7 +84,7 @@ export class UserApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(user);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -105,7 +103,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -115,9 +113,9 @@ export class UserApi {
/**
*
* @summary Creates list of users with given input array
* @param body List of user object
* @param modelsUser List of user object
*/
public createUsersWithArrayInput(body: Array<models.User>, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public createUsersWithArrayInput(modelsUser: Array<models.User>, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -125,9 +123,9 @@ export class UserApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling createUsersWithArrayInput.');
// verify required parameter 'modelsUser' is not null or undefined
if (modelsUser === null || modelsUser === undefined) {
throw new Error('Required parameter modelsUser was null or undefined when calling createUsersWithArrayInput.');
}
@@ -138,8 +136,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -152,7 +148,7 @@ export class UserApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(modelsUser);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -171,7 +167,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -181,9 +177,9 @@ export class UserApi {
/**
*
* @summary Creates list of users with given input array
* @param body List of user object
* @param modelsUser List of user object
*/
public createUsersWithListInput(body: Array<models.User>, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public createUsersWithListInput(modelsUser: Array<models.User>, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -191,9 +187,9 @@ export class UserApi {
let queryParameters: any = {};
let headerParams: any = {};
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling createUsersWithListInput.');
// verify required parameter 'modelsUser' is not null or undefined
if (modelsUser === null || modelsUser === undefined) {
throw new Error('Required parameter modelsUser was null or undefined when calling createUsersWithListInput.');
}
@@ -204,8 +200,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -218,7 +212,7 @@ export class UserApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(modelsUser);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -237,7 +231,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -270,8 +264,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -300,7 +292,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -363,7 +355,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: models.User, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -438,7 +430,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: string, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -465,8 +457,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -495,7 +485,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);
@@ -506,9 +496,9 @@ export class UserApi {
* This can only be done by the logged in user.
* @summary Updated user
* @param username name that need to be deleted
* @param body Updated user object
* @param user Updated user object
*/
public updateUser(username: string, body: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
public updateUser(username: string, user: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise<
{ response: JQueryXHR; body?: any; },
{ response: JQueryXHR; errorThrown: string }
> {
@@ -521,9 +511,9 @@ export class UserApi {
throw new Error('Required parameter username was null or undefined when calling updateUser.');
}
// verify required parameter 'body' is not null or undefined
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling updateUser.');
// verify required parameter 'user' is not null or undefined
if (user === null || user === undefined) {
throw new Error('Required parameter user was null or undefined when calling updateUser.');
}
@@ -534,8 +524,6 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/json'
];
@@ -548,7 +536,7 @@ export class UserApi {
processData: false
};
requestOptions.data = JSON.stringify(body);
requestOptions.data = JSON.stringify(user);
if (headerParams['Content-Type']) {
requestOptions.contentType = headerParams['Content-Type'];
}
@@ -567,7 +555,7 @@ export class UserApi {
>();
$.ajax(requestOptions).then(
(data: any, textStatus: string, jqXHR: JQueryXHR) =>
dfd.resolve({response: jqXHR, body: data),
dfd.resolve({response: jqXHR, body: data}),
(xhr: JQueryXHR, textStatus: string, errorThrown: string) =>
dfd.reject({response: xhr, errorThrown: errorThrown})
);

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,12 +1,12 @@
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* 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
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -1,7 +1,5 @@
export * from './Amount';
export * from './ApiResponse';
export * from './Category';
export * from './Currency';
export * from './Order';
export * from './Pet';
export * from './Tag';