diff --git a/src/apiGen.ts b/src/apiGen.ts index 53a1472..789d125 100644 --- a/src/apiGen.ts +++ b/src/apiGen.ts @@ -151,6 +151,13 @@ export default async function apiGen(lookup: any) { inputParamsExamples.push( `${name}: '${'31337'}'`, ); + } else if ( + reffedSchema.type === 'string' && + refName == 'CodeLanguage' + ) { + inputParamsExamples.push( + `${name}: '${'node'}'`, + ); } } else { if (schema.type === 'number' || schema.type === 'integer') {