Skip to content

Commit

Permalink
クライアントコードの再生成
Browse files Browse the repository at this point in the history
  • Loading branch information
rnakagawa16 committed Jan 7, 2025
1 parent ecd04a8 commit 9c0b088
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 154 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
.gitignore
.npmignore
.openapi-generator-ignore
api.ts
api/actuator-api.ts
api/assets-api.ts
api/catalog-brands-api.ts
api/catalog-categories-api.ts
api/catalog-items-api.ts
api/users-api.ts
base.ts
common.ts
configuration.ts
git_push.sh
index.ts
models/get-catalog-brands-response.ts
models/get-catalog-categories-response.ts
models/get-catalog-item-response.ts
models/get-login-user-response.ts
models/index.ts
models/link.ts
models/paged-list-of-get-catalog-item-response.ts
models/post-catalog-item-request.ts
models/put-catalog-item-request.ts
.gitignore
.npmignore
.openapi-generator-ignore
api.ts
api/actuator-api.ts
api/assets-api.ts
api/catalog-brands-api.ts
api/catalog-categories-api.ts
api/catalog-items-api.ts
api/users-api.ts
base.ts
common.ts
configuration.ts
git_push.sh
index.ts
models/get-catalog-brands-response.ts
models/get-catalog-categories-response.ts
models/get-catalog-item-response.ts
models/get-login-user-response.ts
models/index.ts
models/link.ts
models/paged-list-of-get-catalog-item-response.ts
models/post-catalog-item-request.ts
models/put-catalog-item-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,6 @@ export const ActuatorApiAxiosParamCreator = function (configuration?: Configurat



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthPath: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/health/**`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}

const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -135,24 +105,12 @@ export const ActuatorApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['ActuatorApi.health']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async healthPath(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.healthPath(options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['ActuatorApi.healthPath']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Actuator root web endpoint
Expand Down Expand Up @@ -181,18 +139,9 @@ export const ActuatorApiFactory = function (configuration?: Configuration, baseP
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
health(options?: RawAxiosRequestConfig): AxiosPromise<object> {
health(options?: RawAxiosRequestConfig): AxiosPromise<any> {
return localVarFp.health(options).then((request) => request(axios, basePath));
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthPath(options?: RawAxiosRequestConfig): AxiosPromise<object> {
return localVarFp.healthPath(options).then((request) => request(axios, basePath));
},
/**
*
* @summary Actuator root web endpoint
Expand Down Expand Up @@ -223,17 +172,6 @@ export class ActuatorApi extends BaseAPI {
return ActuatorApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ActuatorApi
*/
public healthPath(options?: RawAxiosRequestConfig) {
return ActuatorApiFp(this.configuration).healthPath(options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @summary Actuator root web endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,6 @@ export const ActuatorApiAxiosParamCreator = function (configuration?: Configurat



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthPath: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/health/**`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}

const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -135,24 +105,12 @@ export const ActuatorApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['ActuatorApi.health']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async healthPath(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.healthPath(options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['ActuatorApi.healthPath']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Actuator root web endpoint
Expand Down Expand Up @@ -181,18 +139,9 @@ export const ActuatorApiFactory = function (configuration?: Configuration, baseP
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
health(options?: RawAxiosRequestConfig): AxiosPromise<object> {
health(options?: RawAxiosRequestConfig): AxiosPromise<any> {
return localVarFp.health(options).then((request) => request(axios, basePath));
},
/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthPath(options?: RawAxiosRequestConfig): AxiosPromise<object> {
return localVarFp.healthPath(options).then((request) => request(axios, basePath));
},
/**
*
* @summary Actuator root web endpoint
Expand Down Expand Up @@ -223,17 +172,6 @@ export class ActuatorApi extends BaseAPI {
return ActuatorApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @summary Actuator web endpoint \'health-path\'
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ActuatorApi
*/
public healthPath(options?: RawAxiosRequestConfig) {
return ActuatorApiFp(this.configuration).healthPath(options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @summary Actuator root web endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export interface ProblemDetail {
'instance'?: string;
/**
*
* @type {{ [key: string]: object; }}
* @type {{ [key: string]: any; }}
* @memberof ProblemDetail
*/
'properties'?: { [key: string]: object; };
'properties'?: { [key: string]: any; };
/**
*
* @type {number}
Expand Down

0 comments on commit 9c0b088

Please sign in to comment.