Skip to content

Commit ab3d807

Browse files
JordonPhillipssrchase
authored andcommitted
Update links to point to smithy.io (smithy-lang#637)
1 parent 0b984a2 commit ab3d807

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ are as follows:
9494
9595
7. The generated client can be found in `build/smithyprojections/foo-client/source/typescript-codegen`.
9696
97-
See [the Smithy documentation](https://awslabs.github.io/smithy/guides/building-models/gradle-plugin.html)
97+
See [the Smithy documentation](https://smithy.io/2.0/guides/building-models/gradle-plugin.html)
9898
for more information on build Smithy projects with Gradle.
9999
100100
## TypeScript code generation

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/StructuredMemberWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private String getSanitizedMemberName(MemberShape member) {
290290
* @param member The member being generated for.
291291
* @return If the interface member should be treated as required.
292292
*
293-
* @see <a href="https://awslabs.github.io/smithy/spec/core.html#idempotencytoken-trait">Smithy idempotencyToken trait.</a>
293+
* @see <a href="https://smithy.io/2.0/spec/behavior-traits.html#idempotencytoken-trait">Smithy idempotencyToken trait.</a>
294294
*/
295295
private boolean isRequiredMember(MemberShape member) {
296296
return member.isRequired() && !member.hasTrait(IdempotencyTokenTrait.class);

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/HttpBindingProtocolGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ private boolean writeRequestQueryString(
815815
}
816816
// Handle any additional query params bindings.
817817
// If query string parameter is also present in httpQuery, it would be overwritten.
818-
// Serializing HTTP messages https://awslabs.github.io/smithy/1.0/spec/core/http-traits.html#serializing-http-messages
818+
// Serializing HTTP messages https://smithy.io/2.0/spec/http-bindings.html#serializing-http-messages
819819
if (!queryParamsBindings.isEmpty()) {
820820
SymbolProvider symbolProvider = context.getSymbolProvider();
821821
String memberName = symbolProvider.toMemberName(queryParamsBindings.get(0).getMember());

0 commit comments

Comments
 (0)