Skip to content

Commit 5d10416

Browse files
committed
java example in model
1 parent 1389f89 commit 5d10416

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

compiler-rs/clients_schema/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ pub struct SchemaExample {
506506
pub value: Option<String>,
507507
pub external_value: Option<String>,
508508
pub alternatives: Option<Vec<ExampleAlternative>>,
509+
pub alternative_java: Option<ExampleAlternative>,
509510
}
510511

511512
/// Common attributes for all type definitions

typescript-generator/src/metamodel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ export class Example {
287287
external_value?: string
288288
/** An array of alternatives for this example in other languages */
289289
alternatives?: ExampleAlternative[]
290+
/** An array of alternatives for this example specifically for java */
291+
alternative_java?: ExampleAlternative
290292
}
291293

292294
/**

0 commit comments

Comments
 (0)