From 7ad9827fe0f6ad47980b65090bcf8b3a358af4c2 Mon Sep 17 00:00:00 2001 From: 49lf Date: Fri, 11 Oct 2024 10:07:09 -0400 Subject: [PATCH] Add UserIdentifier test data generator --- src/apiGen.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/apiGen.ts b/src/apiGen.ts index 3fd4048..53a1472 100644 --- a/src/apiGen.ts +++ b/src/apiGen.ts @@ -144,6 +144,13 @@ export default async function apiGen(lookup: any) { inputParamsExamples.push( `${name}: '${'dev-00000000-0000-0000-0000-000000000000'}'`, ); + } else if ( + reffedSchema.type === 'string' && + refName == 'UserIdentifier' + ) { + inputParamsExamples.push( + `${name}: '${'31337'}'`, + ); } } else { if (schema.type === 'number' || schema.type === 'integer') {