Skip to content

Commit

Permalink
Fix typos and missing resource properties in json ast (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFossAWS authored Aug 11, 2022
1 parent 4befbdb commit 6ad3d10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source-2.0/guides/migrating-idl-1-to-2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ can be updated to:

.. code-block:: smithy
$version: "1.0"
$version: "2.0"
namespace smithy.example
Expand Down
2 changes: 1 addition & 1 deletion docs/source-2.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Smithy
identifiers: { cityId: CityId }
read: GetCity
list: ListCities
resources: [Foreast],
resources: [Forecast]
}
.. rubric:: Next steps
Expand Down
4 changes: 4 additions & 0 deletions docs/source-2.0/spec/json-ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ shapes defined in JSON support the same properties as the Smithy IDL.
* - :ref:`identifiers <resource-identifiers>`
- Map<String, :ref:`AST shape reference <ast-shape-reference>`>
- Defines identifier names and shape IDs used to identify the resource.
* - :ref:`properties <resource-properties>`
- :ref:`AST shape reference <ast-shape-reference>`
- Defines a map of property string names to shape IDs that
enumerate the properties of the resource.
* - :ref:`create <create-lifecycle>`
- :ref:`AST shape reference <ast-shape-reference>`
- Defines the lifecycle operation used to create a resource using one
Expand Down

0 comments on commit 6ad3d10

Please sign in to comment.