Skip to content

Commit

Permalink
Add UserIdentifier test data generator
Browse files Browse the repository at this point in the history
  • Loading branch information
lf94 committed Oct 11, 2024
1 parent 6141d8e commit 7ad9827
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/apiGen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 7ad9827

Please sign in to comment.