@@ -549,54 +549,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
549
549
export { OpenAPI } from './core/OpenAPI';
550
550
export type { OpenAPIConfig } from './core/OpenAPI';
551
551
552
- export type { ArrayWithArray as ArrayWithArrayDto } from './models/ArrayWithArray';
553
- export type { ArrayWithBooleans as ArrayWithBooleansDto } from './models/ArrayWithBooleans';
554
- export type { ArrayWithNumbers as ArrayWithNumbersDto } from './models/ArrayWithNumbers';
555
- export type { ArrayWithProperties as ArrayWithPropertiesDto } from './models/ArrayWithProperties';
556
- export type { ArrayWithReferences as ArrayWithReferencesDto } from './models/ArrayWithReferences';
557
- export type { ArrayWithStrings as ArrayWithStringsDto } from './models/ArrayWithStrings';
558
- export type { CommentWithBackticks as CommentWithBackticksDto } from './models/CommentWithBackticks';
559
- export type { CommentWithBreaks as CommentWithBreaksDto } from './models/CommentWithBreaks';
560
- export type { CommentWithExpressionPlaceholders as CommentWithExpressionPlaceholdersDto } from './models/CommentWithExpressionPlaceholders';
561
- export type { CommentWithQuotes as CommentWithQuotesDto } from './models/CommentWithQuotes';
562
- export type { CommentWithReservedCharacters as CommentWithReservedCharactersDto } from './models/CommentWithReservedCharacters';
563
- export type { CommentWithSlashes as CommentWithSlashesDto } from './models/CommentWithSlashes';
564
- export type { Date as DateDto } from './models/Date';
565
- export type { DictionaryWithArray as DictionaryWithArrayDto } from './models/DictionaryWithArray';
566
- export type { DictionaryWithDictionary as DictionaryWithDictionaryDto } from './models/DictionaryWithDictionary';
567
- export type { DictionaryWithProperties as DictionaryWithPropertiesDto } from './models/DictionaryWithProperties';
568
- export type { DictionaryWithReference as DictionaryWithReferenceDto } from './models/DictionaryWithReference';
569
- export type { DictionaryWithString as DictionaryWithStringDto } from './models/DictionaryWithString';
570
- export type { EnumFromDescription as EnumFromDescriptionDto } from './models/EnumFromDescription';
571
- export { EnumWithExtensions as EnumWithExtensionsDto } from './models/EnumWithExtensions';
572
- export { EnumWithNumbers as EnumWithNumbersDto } from './models/EnumWithNumbers';
573
- export { EnumWithStrings as EnumWithStringsDto } from './models/EnumWithStrings';
574
- export type { ModelThatExtends as ModelThatExtendsDto } from './models/ModelThatExtends';
575
- export type { ModelThatExtendsExtends as ModelThatExtendsExtendsDto } from './models/ModelThatExtendsExtends';
576
- export type { ModelWithArray as ModelWithArrayDto } from './models/ModelWithArray';
577
- export type { ModelWithBoolean as ModelWithBooleanDto } from './models/ModelWithBoolean';
578
- export type { ModelWithCircularReference as ModelWithCircularReferenceDto } from './models/ModelWithCircularReference';
579
- export type { ModelWithDictionary as ModelWithDictionaryDto } from './models/ModelWithDictionary';
580
- export type { ModelWithDuplicateImports as ModelWithDuplicateImportsDto } from './models/ModelWithDuplicateImports';
581
- export type { ModelWithDuplicateProperties as ModelWithDuplicatePropertiesDto } from './models/ModelWithDuplicateProperties';
582
- export { ModelWithEnum as ModelWithEnumDto } from './models/ModelWithEnum';
583
- export type { ModelWithEnumFromDescription as ModelWithEnumFromDescriptionDto } from './models/ModelWithEnumFromDescription';
584
- export type { ModelWithInteger as ModelWithIntegerDto } from './models/ModelWithInteger';
585
- export type { ModelWithNestedEnums as ModelWithNestedEnumsDto } from './models/ModelWithNestedEnums';
586
- export type { ModelWithNestedProperties as ModelWithNestedPropertiesDto } from './models/ModelWithNestedProperties';
587
- export type { ModelWithNullableString as ModelWithNullableStringDto } from './models/ModelWithNullableString';
588
- export type { ModelWithOrderedProperties as ModelWithOrderedPropertiesDto } from './models/ModelWithOrderedProperties';
589
- export type { ModelWithPattern as ModelWithPatternDto } from './models/ModelWithPattern';
590
- export type { ModelWithProperties as ModelWithPropertiesDto } from './models/ModelWithProperties';
591
- export type { ModelWithReference as ModelWithReferenceDto } from './models/ModelWithReference';
592
- export type { ModelWithString as ModelWithStringDto } from './models/ModelWithString';
593
- export type { SimpleBoolean as SimpleBooleanDto } from './models/SimpleBoolean';
594
- export type { SimpleFile as SimpleFileDto } from './models/SimpleFile';
595
- export type { SimpleInteger as SimpleIntegerDto } from './models/SimpleInteger';
596
- export type { SimpleReference as SimpleReferenceDto } from './models/SimpleReference';
597
- export type { SimpleString as SimpleStringDto } from './models/SimpleString';
598
- export type { SimpleStringWithPattern as SimpleStringWithPatternDto } from './models/SimpleStringWithPattern';
599
-
552
+ export { $_default } from './schemas/$_default';
600
553
export { $ArrayWithArray } from './schemas/$ArrayWithArray';
601
554
export { $ArrayWithBooleans } from './schemas/$ArrayWithBooleans';
602
555
export { $ArrayWithNumbers } from './schemas/$ArrayWithNumbers';
@@ -664,6 +617,18 @@ export { TypesService } from './services/TypesService';
664
617
"
665
618
`;
666
619
620
+ exports[`v2 should generate: ./test/generated/v2/models/_default.ts 1`] = `
621
+ "/* istanbul ignore file */
622
+ /* tslint:disable */
623
+ /* eslint-disable */
624
+
625
+ export type _default = {
626
+ name?: string;
627
+ };
628
+
629
+ "
630
+ `;
631
+
667
632
exports[`v2 should generate: ./test/generated/v2/models/ArrayWithArray.ts 1`] = `
668
633
"/* istanbul ignore file */
669
634
/* tslint:disable */
@@ -1441,6 +1406,20 @@ export type SimpleStringWithPattern = string;
1441
1406
"
1442
1407
`;
1443
1408
1409
+ exports[`v2 should generate: ./test/generated/v2/schemas/$_default.ts 1`] = `
1410
+ "/* istanbul ignore file */
1411
+ /* tslint:disable */
1412
+ /* eslint-disable */
1413
+ export const $_default = {
1414
+ properties: {
1415
+ name: {
1416
+ type: 'string',
1417
+ },
1418
+ },
1419
+ } as const;
1420
+ "
1421
+ `;
1422
+
1444
1423
exports[`v2 should generate: ./test/generated/v2/schemas/$ArrayWithArray.ts 1`] = `
1445
1424
"/* istanbul ignore file */
1446
1425
/* tslint:disable */
@@ -3614,6 +3593,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
3614
3593
export { OpenAPI } from './core/OpenAPI';
3615
3594
export type { OpenAPIConfig } from './core/OpenAPI';
3616
3595
3596
+
3617
3597
export { $ArrayWithArray } from './schemas/$ArrayWithArray';
3618
3598
export { $ArrayWithBooleans } from './schemas/$ArrayWithBooleans';
3619
3599
export { $ArrayWithNumbers } from './schemas/$ArrayWithNumbers';
@@ -3706,6 +3686,18 @@ export { UploadService } from './services/UploadService';
3706
3686
"
3707
3687
`;
3708
3688
3689
+ exports[`v3 should generate: ./test/generated/v3/models/_default.ts 1`] = `
3690
+ "/* istanbul ignore file */
3691
+ /* tslint:disable */
3692
+ /* eslint-disable */
3693
+
3694
+ export type _default = {
3695
+ name?: string;
3696
+ };
3697
+
3698
+ "
3699
+ `;
3700
+
3709
3701
exports[`v3 should generate: ./test/generated/v3/models/ArrayWithArray.ts 1`] = `
3710
3702
"/* istanbul ignore file */
3711
3703
/* tslint:disable */
@@ -4831,6 +4823,20 @@ export type SimpleStringWithPattern = string | null;
4831
4823
"
4832
4824
`;
4833
4825
4826
+ exports[`v3 should generate: ./test/generated/v3/schemas/$_default.ts 1`] = `
4827
+ "/* istanbul ignore file */
4828
+ /* tslint:disable */
4829
+ /* eslint-disable */
4830
+ export const $_default = {
4831
+ properties: {
4832
+ name: {
4833
+ type: 'string',
4834
+ },
4835
+ },
4836
+ } as const;
4837
+ "
4838
+ `;
4839
+
4834
4840
exports[`v3 should generate: ./test/generated/v3/schemas/$ArrayWithArray.ts 1`] = `
4835
4841
"/* istanbul ignore file */
4836
4842
/* tslint:disable */
0 commit comments