Skip to content

Commit 6687da2

Browse files
committed
Update versions in README example
1 parent d44bcb5 commit 6687da2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ are as follows:
2222
mavenCentral()
2323
}
2424
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[")
2626
}
2727
}
2828

@@ -36,8 +36,8 @@ are as follows:
3636
}
3737

3838
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")
4141
}
4242
```
4343

@@ -70,21 +70,23 @@ are as follows:
7070
5. Create a file in the `model` directory named `main.smithy` with the following contents:
7171

7272
```
73+
$version: "2"
74+
7375
namespace smithy.example
7476
7577
service ExampleService {
76-
version: "2022-01-01",
78+
version: "2022-01-01"
7779
operations: [Echo]
7880
}
7981
8082
operation Echo {
81-
input: EchoInput,
82-
output: EchoOutput,
83+
input: EchoInput
84+
output: EchoOutput
8385
}
8486
8587
@input
8688
structure EchoInput {
87-
message: String,
89+
message: String
8890
}
8991
9092
@output

0 commit comments

Comments
 (0)