diff --git a/docs/source/guides/building-models/gradle-plugin.rst b/docs/source/guides/building-models/gradle-plugin.rst index 8a68adb75f7..de3a98dddbd 100644 --- a/docs/source/guides/building-models/gradle-plugin.rst +++ b/docs/source/guides/building-models/gradle-plugin.rst @@ -22,7 +22,7 @@ The following example configures a project to use the Smithy Gradle plugin: plugins { java - id("software.amazon.smithy").version("0.4.0") + id("software.amazon.smithy").version("0.3.0") } @@ -140,7 +140,7 @@ The following example ``build.gradle.kts`` will build a Smithy model using a plugins { java - id("software.amazon.smithy").version("0.4.0") + id("software.amazon.smithy").version("0.3.0") } // The SmithyExtension is used to customize the build. This example @@ -153,12 +153,12 @@ The following example ``build.gradle.kts`` will build a Smithy model using a } dependencies { - api("software.amazon.smithy:smithy-model:0.9.2") + implementation("software.amazon.smithy:smithy-model:0.9.2") // These are just examples of dependencies. This model has a dependency on // a "common" model package and uses the external AWS traits. - api("com.foo.baz:foo-model-internal-common:1.0.0") - api("software.amazon.smithy:smithy-aws-traits:0.4.0") + implementation("com.foo.baz:foo-model-internal-common:1.0.0") + implementation("software.amazon.smithy:smithy-aws-traits:0.4.0") } @@ -187,7 +187,7 @@ build that uses the "external" projection. plugins { java - id("software.amazon.smithy").version("0.4.0") + id("software.amazon.smithy").version("0.3.0") } buildscript { @@ -220,12 +220,12 @@ build that uses the "external" projection. } dependencies { - api("software.amazon.smithy:smithy-model:0.9.2") + implementation("software.amazon.smithy:smithy-model:0.9.2") // Any dependencies that the projected model needs must be (re)declared // here. For example, let's assume that the smithy-aws-traits package is // needed in the projected model too. - api("software.amazon.smithy:smithy-aws-traits:0.4.0") + implementation("software.amazon.smithy:smithy-aws-traits:0.4.0") } diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 674b6ac660e..7030c8dc893 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -417,7 +417,7 @@ cities, so there's no way we could provide a City identifier. // return truncated results. Applying this trait to the service // sets default pagination configuration settings on each operation. @paginated(items: "items") - @readonly @collection + @readonly operation ListCities(ListCitiesInput) -> ListCitiesOutput structure ListCitiesInput { @@ -683,7 +683,7 @@ Complete example // The paginated trait indicates that the operation may // return truncated results. - @readonly @collection + @readonly @paginated(items: "items") operation ListCities(ListCitiesInput) -> ListCitiesOutput @@ -881,8 +881,7 @@ Complete example "input":"ListCitiesInput", "output":"ListCitiesOutput", "paginated": {"items":"items"}, - "readonly":true, - "collection":true + "readonly":true }, "ListCitiesInput": { "type":"structure",