We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69e09e2 commit 6872cceCopy full SHA for 6872cce
1 file changed
src/cloudevents/tools/generator/example-generator/example-generator.ts
@@ -167,8 +167,10 @@ export class ExampleGenerator {
167
example.source = generatedSource;
168
}
169
170
+ // 5. Notify events are data plane.
171
+ example.plane = "data";
172
- // 5. Generate subject from the most specific pattern
173
+ // 6. Generate subject from the most specific pattern
174
const subjectSchema = dereferencedSchema.properties?.subject;
175
const hasSpecificSubjectPattern =
176
subjectSchema?.pattern && !subjectSchema.$ref;
0 commit comments