Skip to content

Commit 94949dc

Browse files
committed
Adding the SimpleParameter to the snapshot
1 parent 2958124 commit 94949dc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

test/__snapshots__/index.spec.ts.snap

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4903,6 +4903,18 @@ export type SimpleInteger = number;
49034903
"
49044904
`;
49054905

4906+
exports[`v3 should generate: ./test/generated/v3/models/SimpleParameter.ts 1`] = `
4907+
"/* istanbul ignore file */
4908+
/* tslint:disable */
4909+
/* eslint-disable */
4910+
4911+
/**
4912+
* This is a reusable parameter
4913+
*/
4914+
export type SimpleParameter = string;
4915+
"
4916+
`;
4917+
49064918
exports[`v3 should generate: ./test/generated/v3/models/SimpleReference.ts 1`] = `
49074919
"/* istanbul ignore file */
49084920
/* tslint:disable */
@@ -6231,6 +6243,17 @@ export const $SimpleInteger = {
62316243
"
62326244
`;
62336245

6246+
exports[`v3 should generate: ./test/generated/v3/schemas/$SimpleParameter.ts 1`] = `
6247+
"/* istanbul ignore file */
6248+
/* tslint:disable */
6249+
/* eslint-disable */
6250+
export const $SimpleParameter = {
6251+
type: 'string',
6252+
description: \`This is a reusable parameter\`,
6253+
} as const;
6254+
"
6255+
`;
6256+
62346257
exports[`v3 should generate: ./test/generated/v3/schemas/$SimpleReference.ts 1`] = `
62356258
"/* istanbul ignore file */
62366259
/* tslint:disable */

0 commit comments

Comments
 (0)