You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/openapi-typescript/src/transform/schema-object.ts
+6-6
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ export function defaultSchemaObjectTransform(schemaObject: SchemaObject | Refere
71
71
}
72
72
73
73
// oneOf (no discriminator)
74
-
constoneOf=((typeofschemaObject==="object"&&!schemaObject.discriminator&&(schemaObjectasany).oneOf)||schemaObject.enum||undefined)as(SchemaObject|ReferenceObject)[]|undefined;// note: for objects, treat enum as oneOf
74
+
constoneOf=((typeofschemaObject==="object"&&!schemaObject.discriminator&&schemaObject.oneOf)||schemaObject.enum||undefined)as(SchemaObject|ReferenceObject)[]|undefined;// note: for objects, treat enum as oneOf
id: {type: "string",description: "The ID of an existing resource that exists before the pipeline is run."},
387
+
},
388
+
},
389
+
{
390
+
title: "DetailsFrom",
391
+
type: "object",
392
+
required: ["from"],
393
+
properties: {
394
+
from: {
395
+
type: "object",
396
+
description: "The stage and step to report on.",
397
+
required: ["step"],
398
+
properties: {stage: {type: "string",description: "An identifier for the stage the step being reported on resides in."},step: {type: "string",description: "An identifier for the step to be reported on."}},
0 commit comments