Skip to content

Commit 6872cce

Browse files
CCM-15019: update samples
1 parent 69e09e2 commit 6872cce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/cloudevents/tools/generator/example-generator/example-generator.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,10 @@ export class ExampleGenerator {
167167
example.source = generatedSource;
168168
}
169169
}
170+
// 5. Notify events are data plane.
171+
example.plane = "data";
170172

171-
// 5. Generate subject from the most specific pattern
173+
// 6. Generate subject from the most specific pattern
172174
const subjectSchema = dereferencedSchema.properties?.subject;
173175
const hasSpecificSubjectPattern =
174176
subjectSchema?.pattern && !subjectSchema.$ref;

0 commit comments

Comments
 (0)