@@ -3541,6 +3541,7 @@ export type { ModelWithPattern } from './models/ModelWithPattern';
35413541export type { ModelWithProperties } from './models/ModelWithProperties';
35423542export type { ModelWithReference } from './models/ModelWithReference';
35433543export type { ModelWithString } from './models/ModelWithString';
3544+ export type { Pageable } from './models/Pageable';
35443545export type { SimpleBoolean } from './models/SimpleBoolean';
35453546export type { SimpleFile } from './models/SimpleFile';
35463547export type { SimpleInteger } from './models/SimpleInteger';
@@ -3601,6 +3602,7 @@ export { $ModelWithPattern } from './schemas/$ModelWithPattern';
36013602export { $ModelWithProperties } from './schemas/$ModelWithProperties';
36023603export { $ModelWithReference } from './schemas/$ModelWithReference';
36033604export { $ModelWithString } from './schemas/$ModelWithString';
3605+ export { $Pageable } from './schemas/$Pageable';
36043606export { $SimpleBoolean } from './schemas/$SimpleBoolean';
36053607export { $SimpleFile } from './schemas/$SimpleFile';
36063608export { $SimpleInteger } from './schemas/$SimpleInteger';
@@ -4525,6 +4527,19 @@ export type ModelWithString = {
45254527"
45264528`;
45274529
4530+ exports[`v3 should generate: ./test/generated/v3/models/Pageable.ts 1`] = `
4531+ "/* istanbul ignore file */
4532+ /* tslint:disable */
4533+ /* eslint-disable */
4534+
4535+ export type Pageable = {
4536+ page?: number;
4537+ size?: number;
4538+ sort?: Array<string>;
4539+ };
4540+ "
4541+ `;
4542+
45284543exports[`v3 should generate: ./test/generated/v3/models/SimpleBoolean.ts 1`] = `
45294544"/* istanbul ignore file */
45304545/* tslint:disable */
@@ -5612,6 +5627,31 @@ export const $ModelWithString = {
56125627} as const;"
56135628`;
56145629
5630+ exports[`v3 should generate: ./test/generated/v3/schemas/$Pageable.ts 1`] = `
5631+ "/* istanbul ignore file */
5632+ /* tslint:disable */
5633+ /* eslint-disable */
5634+ export const $Pageable = {
5635+ properties: {
5636+ page: {
5637+ type: 'number',
5638+ format: 'int32',
5639+ },
5640+ size: {
5641+ type: 'number',
5642+ format: 'int32',
5643+ minimum: 1,
5644+ },
5645+ sort: {
5646+ type: 'array',
5647+ contains: {
5648+ type: 'string',
5649+ },
5650+ },
5651+ },
5652+ } as const;"
5653+ `;
5654+
56155655exports[`v3 should generate: ./test/generated/v3/schemas/$SimpleBoolean.ts 1`] = `
56165656"/* istanbul ignore file */
56175657/* tslint:disable */
@@ -6305,6 +6345,7 @@ exports[`v3 should generate: ./test/generated/v3/services/ParametersService.ts 1
63056345/* tslint:disable */
63066346/* eslint-disable */
63076347import type { ModelWithString } from '../models/ModelWithString';
6348+ import type { Pageable } from '../models/Pageable';
63086349
63096350import type { CancelablePromise } from '../core/CancelablePromise';
63106351import { OpenAPI } from '../core/OpenAPI';
@@ -6427,7 +6468,7 @@ export class ParametersService {
64276468 * @throws ApiError
64286469 */
64296470 public static postCallWithOptionalParam(
6430- parameter: string ,
6471+ parameter: Pageable ,
64316472 requestBody?: ModelWithString,
64326473 ): CancelablePromise<void> {
64336474 return __request(OpenAPI, {
0 commit comments