@@ -3690,6 +3690,8 @@ export { OpenAPI } from './core/OpenAPI';
3690
3690
export type { OpenAPIConfig } from './core/OpenAPI';
3691
3691
3692
3692
export type { _default } from './models/_default';
3693
+ export type { AnyOfAnyAndNull } from './models/AnyOfAnyAndNull';
3694
+ export type { AnyOfArrays } from './models/AnyOfArrays';
3693
3695
export type { ArrayWithArray } from './models/ArrayWithArray';
3694
3696
export type { ArrayWithBooleans } from './models/ArrayWithBooleans';
3695
3697
export type { ArrayWithNumbers } from './models/ArrayWithNumbers';
@@ -3764,6 +3766,8 @@ export type { SimpleString } from './models/SimpleString';
3764
3766
export type { SimpleStringWithPattern } from './models/SimpleStringWithPattern';
3765
3767
3766
3768
export { $_default } from './schemas/$_default';
3769
+ export { $AnyOfAnyAndNull } from './schemas/$AnyOfAnyAndNull';
3770
+ export { $AnyOfArrays } from './schemas/$AnyOfArrays';
3767
3771
export { $ArrayWithArray } from './schemas/$ArrayWithArray';
3768
3772
export { $ArrayWithBooleans } from './schemas/$ArrayWithBooleans';
3769
3773
export { $ArrayWithNumbers } from './schemas/$ArrayWithNumbers';
@@ -3873,6 +3877,34 @@ export type _default = {
3873
3877
"
3874
3878
`;
3875
3879
3880
+ exports[`v3 should generate: test/generated/v3/models/AnyOfAnyAndNull.ts 1`] = `
3881
+ "/* generated using openapi-typescript-codegen -- do no edit */
3882
+ /* istanbul ignore file */
3883
+ /* tslint:disable */
3884
+ /* eslint-disable */
3885
+ export type AnyOfAnyAndNull = {
3886
+ data?: any | null;
3887
+ };
3888
+
3889
+ "
3890
+ `;
3891
+
3892
+ exports[`v3 should generate: test/generated/v3/models/AnyOfArrays.ts 1`] = `
3893
+ "/* generated using openapi-typescript-codegen -- do no edit */
3894
+ /* istanbul ignore file */
3895
+ /* tslint:disable */
3896
+ /* eslint-disable */
3897
+ export type AnyOfArrays = {
3898
+ results?: Array<({
3899
+ onePro?: boolean;
3900
+ } | {
3901
+ anotherProp?: boolean;
3902
+ })>;
3903
+ };
3904
+
3905
+ "
3906
+ `;
3907
+
3876
3908
exports[`v3 should generate: test/generated/v3/models/ArrayWithArray.ts 1`] = `
3877
3909
"/* generated using openapi-typescript-codegen -- do no edit */
3878
3910
/* istanbul ignore file */
@@ -5054,6 +5086,52 @@ export const $_default = {
5054
5086
"
5055
5087
`;
5056
5088
5089
+ exports[`v3 should generate: test/generated/v3/schemas/$AnyOfAnyAndNull.ts 1`] = `
5090
+ "/* generated using openapi-typescript-codegen -- do no edit */
5091
+ /* istanbul ignore file */
5092
+ /* tslint:disable */
5093
+ /* eslint-disable */
5094
+ export const $AnyOfAnyAndNull = {
5095
+ properties: {
5096
+ data: {
5097
+ type: 'any-of',
5098
+ contains: [{
5099
+ type: 'null',
5100
+ }],
5101
+ },
5102
+ },
5103
+ } as const;
5104
+ "
5105
+ `;
5106
+
5107
+ exports[`v3 should generate: test/generated/v3/schemas/$AnyOfArrays.ts 1`] = `
5108
+ "/* generated using openapi-typescript-codegen -- do no edit */
5109
+ /* istanbul ignore file */
5110
+ /* tslint:disable */
5111
+ /* eslint-disable */
5112
+ export const $AnyOfArrays = {
5113
+ properties: {
5114
+ results: {
5115
+ type: 'any-of',
5116
+ contains: [{
5117
+ properties: {
5118
+ onePro: {
5119
+ type: 'boolean',
5120
+ },
5121
+ },
5122
+ }, {
5123
+ properties: {
5124
+ anotherProp: {
5125
+ type: 'boolean',
5126
+ },
5127
+ },
5128
+ }],
5129
+ },
5130
+ },
5131
+ } as const;
5132
+ "
5133
+ `;
5134
+
5057
5135
exports[`v3 should generate: test/generated/v3/schemas/$ArrayWithArray.ts 1`] = `
5058
5136
"/* generated using openapi-typescript-codegen -- do no edit */
5059
5137
/* istanbul ignore file */
0 commit comments