We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6820eaf commit f6c5a26Copy full SHA for f6c5a26
1 file changed
e2e-example/apis/src/lib.rs
@@ -88,7 +88,7 @@ pub mod versioned {
88
}
89
90
#[derive(Serialize, JsonSchema)]
91
- struct ThingV1 {
+ pub struct ThingV1 {
92
thing_str: &'static str,
93
// EXERCISE: Comment out the line above, and uncomment the line below, to
94
// introduce a breaking change to the blessed 1.0.0 version of this
@@ -97,7 +97,7 @@ pub mod versioned {
97
98
99
100
- struct ThingV2 {
+ pub struct ThingV2 {
101
// Note: this was originally `thing_number: u32`, but a wrapper type was
102
// added afterwards to test out wire-compatible changes to the schema.
103
// This trivial change caused THREE_DOT_OH to be generated.
0 commit comments