Skip to content

Commit 8b5dabe

Browse files
authored
Merge pull request #280 from code-zero-to-one/feature/openapi-new
feat: new OpenAPI (automated)
2 parents 015efd8 + bec5117 commit 8b5dabe

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

src/api/openapi/api/admin-settlement-api.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ export const AdminSettlementApiAxiosParamCreator = function (configuration?: Con
122122
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
123123
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
124124
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
125-
* @param {number} [settlementCode] 정산 Code로 조회
125+
* @param {string} [settlementCode] 정산 Code로 조회
126126
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
127127
* @param {number} [page] 페이지 번호 (0부터 시작)
128128
* @param {number} [size] 페이지 크기
129129
* @param {string} [sort] 정렬 기준
130130
* @param {*} [options] Override http request option.
131131
* @throws {RequiredError}
132132
*/
133-
getSettlementsForAdmin: async (condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
133+
getSettlementsForAdmin: async (condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134134
// verify required parameter 'condition' is not null or undefined
135135
assertParamExists('getSettlementsForAdmin', 'condition', condition)
136136
// verify required parameter 'pageable' is not null or undefined
@@ -253,15 +253,15 @@ export const AdminSettlementApiFp = function(configuration?: Configuration) {
253253
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
254254
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
255255
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
256-
* @param {number} [settlementCode] 정산 Code로 조회
256+
* @param {string} [settlementCode] 정산 Code로 조회
257257
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
258258
* @param {number} [page] 페이지 번호 (0부터 시작)
259259
* @param {number} [size] 페이지 크기
260260
* @param {string} [sort] 정렬 기준
261261
* @param {*} [options] Override http request option.
262262
* @throws {RequiredError}
263263
*/
264-
async getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageStudySettlementSummaryResponseSchema>> {
264+
async getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageStudySettlementSummaryResponseSchema>> {
265265
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlementsForAdmin(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options);
266266
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
267267
const localVarOperationServerBasePath = operationServerMap['AdminSettlementApi.getSettlementsForAdmin']?.[localVarOperationServerIndex]?.url;
@@ -304,15 +304,15 @@ export const AdminSettlementApiFactory = function (configuration?: Configuration
304304
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
305305
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
306306
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
307-
* @param {number} [settlementCode] 정산 Code로 조회
307+
* @param {string} [settlementCode] 정산 Code로 조회
308308
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
309309
* @param {number} [page] 페이지 번호 (0부터 시작)
310310
* @param {number} [size] 페이지 크기
311311
* @param {string} [sort] 정렬 기준
312312
* @param {*} [options] Override http request option.
313313
* @throws {RequiredError}
314314
*/
315-
getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<PageStudySettlementSummaryResponseSchema> {
315+
getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<PageStudySettlementSummaryResponseSchema> {
316316
return localVarFp.getSettlementsForAdmin(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options).then((request) => request(axios, basePath));
317317
},
318318
};
@@ -352,15 +352,15 @@ export class AdminSettlementApi extends BaseAPI {
352352
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
353353
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
354354
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
355-
* @param {number} [settlementCode] 정산 Code로 조회
355+
* @param {string} [settlementCode] 정산 Code로 조회
356356
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
357357
* @param {number} [page] 페이지 번호 (0부터 시작)
358358
* @param {number} [size] 페이지 크기
359359
* @param {string} [sort] 정렬 기준
360360
* @param {*} [options] Override http request option.
361361
* @throws {RequiredError}
362362
*/
363-
public getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig) {
363+
public getSettlementsForAdmin(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig) {
364364
return AdminSettlementApiFp(this.configuration).getSettlementsForAdmin(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options).then((request) => request(this.axios, this.basePath));
365365
}
366366
}

src/api/openapi/api/settlement-user-api.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ export const SettlementUserApiAxiosParamCreator = function (configuration?: Conf
4040
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
4141
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
4242
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
43-
* @param {number} [settlementCode] 정산 Code로 조회
43+
* @param {string} [settlementCode] 정산 Code로 조회
4444
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
4545
* @param {number} [page] 조회할 페이지 (0부터 시작)
4646
* @param {number} [size] 페이지당 데이터 개수
4747
* @param {string} [sort] 정렬 기준 (예: scheduledAt,desc)
4848
* @param {*} [options] Override http request option.
4949
* @throws {RequiredError}
5050
*/
51-
getMySettlements: async (condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51+
getMySettlements: async (condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5252
// verify required parameter 'condition' is not null or undefined
5353
assertParamExists('getMySettlements', 'condition', condition)
5454
// verify required parameter 'pageable' is not null or undefined
@@ -145,15 +145,15 @@ export const SettlementUserApiFp = function(configuration?: Configuration) {
145145
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
146146
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
147147
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
148-
* @param {number} [settlementCode] 정산 Code로 조회
148+
* @param {string} [settlementCode] 정산 Code로 조회
149149
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
150150
* @param {number} [page] 조회할 페이지 (0부터 시작)
151151
* @param {number} [size] 페이지당 데이터 개수
152152
* @param {string} [sort] 정렬 기준 (예: scheduledAt,desc)
153153
* @param {*} [options] Override http request option.
154154
* @throws {RequiredError}
155155
*/
156-
async getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageStudySettlementSummaryResponseSchema>> {
156+
async getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageStudySettlementSummaryResponseSchema>> {
157157
const localVarAxiosArgs = await localVarAxiosParamCreator.getMySettlements(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options);
158158
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
159159
const localVarOperationServerBasePath = operationServerMap['SettlementUserApi.getMySettlements']?.[localVarOperationServerIndex]?.url;
@@ -176,15 +176,15 @@ export const SettlementUserApiFactory = function (configuration?: Configuration,
176176
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
177177
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
178178
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
179-
* @param {number} [settlementCode] 정산 Code로 조회
179+
* @param {string} [settlementCode] 정산 Code로 조회
180180
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
181181
* @param {number} [page] 조회할 페이지 (0부터 시작)
182182
* @param {number} [size] 페이지당 데이터 개수
183183
* @param {string} [sort] 정렬 기준 (예: scheduledAt,desc)
184184
* @param {*} [options] Override http request option.
185185
* @throws {RequiredError}
186186
*/
187-
getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<PageStudySettlementSummaryResponseSchema> {
187+
getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<PageStudySettlementSummaryResponseSchema> {
188188
return localVarFp.getMySettlements(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options).then((request) => request(axios, basePath));
189189
},
190190
};
@@ -202,15 +202,15 @@ export class SettlementUserApi extends BaseAPI {
202202
* @param {string} [startDate] 정산 예정일 조회 시작일 (yyyy-MM-dd)
203203
* @param {string} [endDate] 정산 예정일 조회 종료일 (yyyy-MM-dd)
204204
* @param {string} [studyTitle] 스터디명 검색 (부분 일치)
205-
* @param {number} [settlementCode] 정산 Code로 조회
205+
* @param {string} [settlementCode] 정산 Code로 조회
206206
* @param {string} [status] 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED)
207207
* @param {number} [page] 조회할 페이지 (0부터 시작)
208208
* @param {number} [size] 페이지당 데이터 개수
209209
* @param {string} [sort] 정렬 기준 (예: scheduledAt,desc)
210210
* @param {*} [options] Override http request option.
211211
* @throws {RequiredError}
212212
*/
213-
public getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: number, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig) {
213+
public getMySettlements(condition: SettlementSearchCondition, pageable: Pageable, startDate?: string, endDate?: string, studyTitle?: string, settlementCode?: string, status?: string, page?: number, size?: number, sort?: string, options?: RawAxiosRequestConfig) {
214214
return SettlementUserApiFp(this.configuration).getMySettlements(condition, pageable, startDate, endDate, studyTitle, settlementCode, status, page, size, sort, options).then((request) => request(this.axios, this.basePath));
215215
}
216216
}

src/api/openapi/docs/AdminSettlementApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ let pageable: Pageable; // (default to undefined)
142142
let startDate: string; //정산 예정일 조회 시작일 (yyyy-MM-dd) (optional) (default to undefined)
143143
let endDate: string; //정산 예정일 조회 종료일 (yyyy-MM-dd) (optional) (default to undefined)
144144
let studyTitle: string; //스터디명 검색 (부분 일치) (optional) (default to undefined)
145-
let settlementCode: number; //정산 Code로 조회 (optional) (default to undefined)
145+
let settlementCode: string; //정산 Code로 조회 (optional) (default to undefined)
146146
let status: string; //정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED) (optional) (default to undefined)
147147
let page: number; //페이지 번호 (0부터 시작) (optional) (default to undefined)
148148
let size: number; //페이지 크기 (optional) (default to undefined)
@@ -171,7 +171,7 @@ const { status, data } = await apiInstance.getSettlementsForAdmin(
171171
| **startDate** | [**string**] | 정산 예정일 조회 시작일 (yyyy-MM-dd) | (optional) defaults to undefined|
172172
| **endDate** | [**string**] | 정산 예정일 조회 종료일 (yyyy-MM-dd) | (optional) defaults to undefined|
173173
| **studyTitle** | [**string**] | 스터디명 검색 (부분 일치) | (optional) defaults to undefined|
174-
| **settlementCode** | [**number**] | 정산 Code로 조회 | (optional) defaults to undefined|
174+
| **settlementCode** | [**string**] | 정산 Code로 조회 | (optional) defaults to undefined|
175175
| **status** | [**string**] | 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED) | (optional) defaults to undefined|
176176
| **page** | [**number**] | 페이지 번호 (0부터 시작) | (optional) defaults to undefined|
177177
| **size** | [**number**] | 페이지 크기 | (optional) defaults to undefined|

src/api/openapi/docs/SettlementUserApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let pageable: Pageable; // (default to undefined)
2929
let startDate: string; //정산 예정일 조회 시작일 (yyyy-MM-dd) (optional) (default to undefined)
3030
let endDate: string; //정산 예정일 조회 종료일 (yyyy-MM-dd) (optional) (default to undefined)
3131
let studyTitle: string; //스터디명 검색 (부분 일치) (optional) (default to undefined)
32-
let settlementCode: number; //정산 Code로 조회 (optional) (default to undefined)
32+
let settlementCode: string; //정산 Code로 조회 (optional) (default to undefined)
3333
let status: string; //정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED) (optional) (default to undefined)
3434
let page: number; //조회할 페이지 (0부터 시작) (optional) (default to undefined)
3535
let size: number; //페이지당 데이터 개수 (optional) (default to undefined)
@@ -58,7 +58,7 @@ const { status, data } = await apiInstance.getMySettlements(
5858
| **startDate** | [**string**] | 정산 예정일 조회 시작일 (yyyy-MM-dd) | (optional) defaults to undefined|
5959
| **endDate** | [**string**] | 정산 예정일 조회 종료일 (yyyy-MM-dd) | (optional) defaults to undefined|
6060
| **studyTitle** | [**string**] | 스터디명 검색 (부분 일치) | (optional) defaults to undefined|
61-
| **settlementCode** | [**number**] | 정산 Code로 조회 | (optional) defaults to undefined|
61+
| **settlementCode** | [**string**] | 정산 Code로 조회 | (optional) defaults to undefined|
6262
| **status** | [**string**] | 정산 상태 필터 (PENDING, APPROVED, COMPLETED, CANCELED) | (optional) defaults to undefined|
6363
| **page** | [**number**] | 조회할 페이지 (0부터 시작) | (optional) defaults to undefined|
6464
| **size** | [**number**] | 페이지당 데이터 개수 | (optional) defaults to undefined|

0 commit comments

Comments
 (0)