Skip to content

Commit

Permalink
Update test snapshot.
Browse files Browse the repository at this point in the history
So that it matches the desired test result.
  • Loading branch information
josstn committed Feb 14, 2024
1 parent a205111 commit 308a180
Showing 1 changed file with 8 additions and 56 deletions.
64 changes: 8 additions & 56 deletions test/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export type { ModelWithPattern } from './models/ModelWithPattern';
export type { ModelWithProperties } from './models/ModelWithProperties';
export type { ModelWithReference } from './models/ModelWithReference';
export type { ModelWithString } from './models/ModelWithString';
export type { NonAsciiStringæøåÆØÅöôêÊ } from './models/NonAsciiStringæøåÆØÅöôêÊ';
export type { NonAsciiStringæøåÆØÅöôêÊ字符串 } from './models/NonAsciiStringæøåÆØÅöôêÊ字符串';
export type { SimpleBoolean } from './models/SimpleBoolean';
export type { SimpleFile } from './models/SimpleFile';
export type { SimpleInteger } from './models/SimpleInteger';
Expand Down Expand Up @@ -664,7 +664,7 @@ export { $ModelWithPattern } from './schemas/$ModelWithPattern';
export { $ModelWithProperties } from './schemas/$ModelWithProperties';
export { $ModelWithReference } from './schemas/$ModelWithReference';
export { $ModelWithString } from './schemas/$ModelWithString';
export { $NonAsciiStringæøåÆØÅöôêÊ } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ';
export { $NonAsciiStringæøåÆØÅöôêÊ字符串 } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串';
export { $SimpleBoolean } from './schemas/$SimpleBoolean';
export { $SimpleFile } from './schemas/$SimpleFile';
export { $SimpleInteger } from './schemas/$SimpleInteger';
Expand Down Expand Up @@ -1011,7 +1011,7 @@ export enum EnumWithStrings {
ERROR = 'Error',
_SINGLE_QUOTE_ = '\\'Single Quote\\'',
_DOUBLE_QUOTES_ = '"Double Quotes"',
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ = 'Non-ascii: øæåôöØÆÅÔÖ',
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ字符串 = 'Non-ascii: øæåôöØÆÅÔÖ字符串',
}
"
`;
Expand Down Expand Up @@ -1181,7 +1181,7 @@ export namespace ModelWithEnum {
SUCCESS = 'Success',
WARNING = 'Warning',
ERROR = 'Error',
ØÆÅ = 'ØÆÅ',
ØÆÅ字符串 = 'ØÆÅ字符串',
}
/**
* These are the HTTP error code enums
Expand Down Expand Up @@ -1392,18 +1392,6 @@ export type ModelWithString = {
"
`;

exports[`v2 should generate: test/generated/v2/models/NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)
*/
export type NonAsciiStringæøåÆØÅöôêÊ = string;
"
`;

exports[`v2 should generate: test/generated/v2/models/NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
Expand Down Expand Up @@ -2284,18 +2272,6 @@ export const $ModelWithString = {
"
`;

exports[`v2 should generate: test/generated/v2/schemas/$NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export const $NonAsciiStringæøåÆØÅöôêÊ = {
type: 'string',
description: \`A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)\`,
} as const;
"
`;

exports[`v2 should generate: test/generated/v2/schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
Expand Down Expand Up @@ -3780,7 +3756,7 @@ export type { ModelWithPattern } from './models/ModelWithPattern';
export type { ModelWithProperties } from './models/ModelWithProperties';
export type { ModelWithReference } from './models/ModelWithReference';
export type { ModelWithString } from './models/ModelWithString';
export type { NonAsciiStringæøåÆØÅöôêÊ } from './models/NonAsciiStringæøåÆØÅöôêÊ';
export type { NonAsciiStringæøåÆØÅöôêÊ字符串 } from './models/NonAsciiStringæøåÆØÅöôêÊ字符串';
export type { Pageable } from './models/Pageable';
export type { SimpleBoolean } from './models/SimpleBoolean';
export type { SimpleFile } from './models/SimpleFile';
Expand Down Expand Up @@ -3851,7 +3827,7 @@ export { $ModelWithPattern } from './schemas/$ModelWithPattern';
export { $ModelWithProperties } from './schemas/$ModelWithProperties';
export { $ModelWithReference } from './schemas/$ModelWithReference';
export { $ModelWithString } from './schemas/$ModelWithString';
export { $NonAsciiStringæøåÆØÅöôêÊ } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ';
export { $NonAsciiStringæøåÆØÅöôêÊ字符串 } from './schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串';
export { $Pageable } from './schemas/$Pageable';
export { $SimpleBoolean } from './schemas/$SimpleBoolean';
export { $SimpleFile } from './schemas/$SimpleFile';
Expand Down Expand Up @@ -4439,7 +4415,7 @@ export enum EnumWithStrings {
ERROR = 'Error',
_SINGLE_QUOTE_ = '\\'Single Quote\\'',
_DOUBLE_QUOTES_ = '"Double Quotes"',
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ = 'Non-ascii: øæåôöØÆÅÔÖ',
NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ字符串 = 'Non-ascii: øæåôöØÆÅÔÖ字符串',
}
"
`;
Expand Down Expand Up @@ -4693,7 +4669,7 @@ export namespace ModelWithEnum {
SUCCESS = 'Success',
WARNING = 'Warning',
ERROR = 'Error',
ØÆÅ = 'ØÆÅ',
ØÆÅ字符串 = 'ØÆÅ字符串',
}
/**
* These are the HTTP error code enums
Expand Down Expand Up @@ -4913,18 +4889,6 @@ export type ModelWithString = {
"
`;

exports[`v3 should generate: test/generated/v3/models/NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)
*/
export type NonAsciiStringæøåÆØÅöôêÊ = string;
"
`;

exports[`v3 should generate: test/generated/v3/models/NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
Expand Down Expand Up @@ -6327,18 +6291,6 @@ export const $ModelWithString = {
"
`;

exports[`v3 should generate: test/generated/v3/schemas/$NonAsciiStringæøåÆØÅöôêÊ.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export const $NonAsciiStringæøåÆØÅöôêÊ = {
type: 'string',
description: \`A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ)\`,
} as const;
"
`;

exports[`v3 should generate: test/generated/v3/schemas/$NonAsciiStringæøåÆØÅöôêÊ字符串.ts 1`] = `
"/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
Expand Down

0 comments on commit 308a180

Please sign in to comment.