Skip to content

Commit 308a180

Browse files
committed
Update test snapshot.
So that it matches the desired test result.
1 parent a205111 commit 308a180

File tree

1 file changed

+8
-56
lines changed

1 file changed

+8
-56
lines changed

test/__snapshots__/index.spec.ts.snap

Lines changed: 8 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ export type { ModelWithPattern } from './models/ModelWithPattern';
614614
export type { ModelWithProperties } from './models/ModelWithProperties';
615615
export type { ModelWithReference } from './models/ModelWithReference';
616616
export type { ModelWithString } from './models/ModelWithString';
617-
export type { NonAsciiStringæøåÆØÅöôêÊ } from './models/NonAsciiStringæøåÆØÅöôêÊ';
617+
export type { NonAsciiStringæøåÆØÅöôêÊ字符串 } from './models/NonAsciiStringæøåÆØÅöôêÊ字符串';
618618
export type { SimpleBoolean } from './models/SimpleBoolean';
619619
export type { SimpleFile } from './models/SimpleFile';
620620
export type { SimpleInteger } from './models/SimpleInteger';
@@ -664,7 +664,7 @@ export { $ModelWithPattern } from './schemas/$ModelWithPattern';
664664
export { $ModelWithProperties } from './schemas/$ModelWithProperties';
665665
export { $ModelWithReference } from './schemas/$ModelWithReference';
666666
export { $ModelWithString } from './schemas/$ModelWithString';
667-
export { $NonAsciiStringæøåÆØÅöôêÊ } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ';
667+
export { $NonAsciiStringæøåÆØÅöôêÊ字符串 } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串';
668668
export { $SimpleBoolean } from './schemas/$SimpleBoolean';
669669
export { $SimpleFile } from './schemas/$SimpleFile';
670670
export { $SimpleInteger } from './schemas/$SimpleInteger';
@@ -1011,7 +1011,7 @@ export enum EnumWithStrings {
10111011
ERROR = 'Error',
10121012
_SINGLE_QUOTE_ = '\\'Single Quote\\'',
10131013
_DOUBLE_QUOTES_ = '"Double Quotes"',
1014-
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ = 'Non-ascii: øæåôöØÆÅÔÖ',
1014+
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ字符串 = 'Non-ascii: øæåôöØÆÅÔÖ字符串',
10151015
}
10161016
"
10171017
`;
@@ -1181,7 +1181,7 @@ export namespace ModelWithEnum {
11811181
SUCCESS = 'Success',
11821182
WARNING = 'Warning',
11831183
ERROR = 'Error',
1184-
ØÆÅ = 'ØÆÅ',
1184+
ØÆÅ字符串 = 'ØÆÅ字符串',
11851185
}
11861186
/**
11871187
* These are the HTTP error code enums
@@ -1392,18 +1392,6 @@ export type ModelWithString = {
13921392
"
13931393
`;
13941394

1395-
exports[`v2 should generate: test/generated/v2/models/NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
1396-
"/* generated using openapi-typescript-codegen -- do no edit */
1397-
/* istanbul ignore file */
1398-
/* tslint:disable */
1399-
/* eslint-disable */
1400-
/**
1401-
* A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)
1402-
*/
1403-
export type NonAsciiStringæøåÆØÅöôêÊ = string;
1404-
"
1405-
`;
1406-
14071395
exports[`v2 should generate: test/generated/v2/models/NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
14081396
"/* generated using openapi-typescript-codegen -- do no edit */
14091397
/* istanbul ignore file */
@@ -2284,18 +2272,6 @@ export const $ModelWithString = {
22842272
"
22852273
`;
22862274

2287-
exports[`v2 should generate: test/generated/v2/schemas/$NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
2288-
"/* generated using openapi-typescript-codegen -- do no edit */
2289-
/* istanbul ignore file */
2290-
/* tslint:disable */
2291-
/* eslint-disable */
2292-
export const $NonAsciiStringæøåÆØÅöôêÊ = {
2293-
type: 'string',
2294-
description: \`A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)\`,
2295-
} as const;
2296-
"
2297-
`;
2298-
22992275
exports[`v2 should generate: test/generated/v2/schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
23002276
"/* generated using openapi-typescript-codegen -- do no edit */
23012277
/* istanbul ignore file */
@@ -3780,7 +3756,7 @@ export type { ModelWithPattern } from './models/ModelWithPattern';
37803756
export type { ModelWithProperties } from './models/ModelWithProperties';
37813757
export type { ModelWithReference } from './models/ModelWithReference';
37823758
export type { ModelWithString } from './models/ModelWithString';
3783-
export type { NonAsciiStringæøåÆØÅöôêÊ } from './models/NonAsciiStringæøåÆØÅöôêÊ';
3759+
export type { NonAsciiStringæøåÆØÅöôêÊ字符串 } from './models/NonAsciiStringæøåÆØÅöôêÊ字符串';
37843760
export type { Pageable } from './models/Pageable';
37853761
export type { SimpleBoolean } from './models/SimpleBoolean';
37863762
export type { SimpleFile } from './models/SimpleFile';
@@ -3851,7 +3827,7 @@ export { $ModelWithPattern } from './schemas/$ModelWithPattern';
38513827
export { $ModelWithProperties } from './schemas/$ModelWithProperties';
38523828
export { $ModelWithReference } from './schemas/$ModelWithReference';
38533829
export { $ModelWithString } from './schemas/$ModelWithString';
3854-
export { $NonAsciiStringæøåÆØÅöôêÊ } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ';
3830+
export { $NonAsciiStringæøåÆØÅöôêÊ字符串 } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串';
38553831
export { $Pageable } from './schemas/$Pageable';
38563832
export { $SimpleBoolean } from './schemas/$SimpleBoolean';
38573833
export { $SimpleFile } from './schemas/$SimpleFile';
@@ -4439,7 +4415,7 @@ export enum EnumWithStrings {
44394415
ERROR = 'Error',
44404416
_SINGLE_QUOTE_ = '\\'Single Quote\\'',
44414417
_DOUBLE_QUOTES_ = '"Double Quotes"',
4442-
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ = 'Non-ascii: øæåôöØÆÅÔÖ',
4418+
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ字符串 = 'Non-ascii: øæåôöØÆÅÔÖ字符串',
44434419
}
44444420
"
44454421
`;
@@ -4693,7 +4669,7 @@ export namespace ModelWithEnum {
46934669
SUCCESS = 'Success',
46944670
WARNING = 'Warning',
46954671
ERROR = 'Error',
4696-
ØÆÅ = 'ØÆÅ',
4672+
ØÆÅ字符串 = 'ØÆÅ字符串',
46974673
}
46984674
/**
46994675
* These are the HTTP error code enums
@@ -4913,18 +4889,6 @@ export type ModelWithString = {
49134889
"
49144890
`;
49154891

4916-
exports[`v3 should generate: test/generated/v3/models/NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
4917-
"/* generated using openapi-typescript-codegen -- do no edit */
4918-
/* istanbul ignore file */
4919-
/* tslint:disable */
4920-
/* eslint-disable */
4921-
/**
4922-
* A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)
4923-
*/
4924-
export type NonAsciiStringæøåÆØÅöôêÊ = string;
4925-
"
4926-
`;
4927-
49284892
exports[`v3 should generate: test/generated/v3/models/NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
49294893
"/* generated using openapi-typescript-codegen -- do no edit */
49304894
/* istanbul ignore file */
@@ -6327,18 +6291,6 @@ export const $ModelWithString = {
63276291
"
63286292
`;
63296293

6330-
exports[`v3 should generate: test/generated/v3/schemas/$NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
6331-
"/* generated using openapi-typescript-codegen -- do no edit */
6332-
/* istanbul ignore file */
6333-
/* tslint:disable */
6334-
/* eslint-disable */
6335-
export const $NonAsciiStringæøåÆØÅöôêÊ = {
6336-
type: 'string',
6337-
description: \`A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)\`,
6338-
} as const;
6339-
"
6340-
`;
6341-
63426294
exports[`v3 should generate: test/generated/v3/schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
63436295
"/* generated using openapi-typescript-codegen -- do no edit */
63446296
/* istanbul ignore file */

0 commit comments

Comments
 (0)