File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ are as follows:
22
22
mavenCentral()
23
23
}
24
24
dependencies {
25
- " classpath" (" software.amazon.smithy:smithy-cli:[1.19 .0,1.20 .0[" )
25
+ " classpath" (" software.amazon.smithy:smithy-cli:[1.25 .0,1.26 .0[" )
26
26
}
27
27
}
28
28
@@ -36,8 +36,8 @@ are as follows:
36
36
}
37
37
38
38
dependencies {
39
- implementation(" software.amazon.smithy:smithy-model:[1.19 .0,1.20 .0[" )
40
- implementation(" software.amazon.smithy.typescript:smithy-typescript-codegen:0.11 .0" )
39
+ implementation(" software.amazon.smithy:smithy-model:[1.25 .0,1.26 .0[" )
40
+ implementation(" software.amazon.smithy.typescript:smithy-typescript-codegen:0.12 .0" )
41
41
}
42
42
```
43
43
@@ -70,21 +70,23 @@ are as follows:
70
70
5 . Create a file in the ` model ` directory named ` main.smithy ` with the following contents:
71
71
72
72
```
73
+ $version: "2"
74
+
73
75
namespace smithy.example
74
76
75
77
service ExampleService {
76
- version: "2022-01-01",
78
+ version: "2022-01-01"
77
79
operations: [Echo]
78
80
}
79
81
80
82
operation Echo {
81
- input: EchoInput,
82
- output: EchoOutput,
83
+ input: EchoInput
84
+ output: EchoOutput
83
85
}
84
86
85
87
@input
86
88
structure EchoInput {
87
- message: String,
89
+ message: String
88
90
}
89
91
90
92
@output
You can’t perform that action at this time.
0 commit comments