Skip to content

Commit

Permalink
Update model version from 0.5.0 to 1.0.0 (smithy-lang#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Coalwell authored and JordonPhillips committed Apr 22, 2020
1 parent a7ae071 commit 66a1119
Show file tree
Hide file tree
Showing 336 changed files with 458 additions and 457 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
# These versions as replacement for |version| and |release| in rst files,
# and are used in various other places throughout the built documents.
#
version = u'0.5.0' # The short X.Y.Z version.
release = u'0.5.0' # The full version, including alpha/beta/rc tags.
version = u'1.0.0' # The short X.Y.Z version.
release = u'1.0.0' # The full version, including alpha/beta/rc tags.

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/guides/style-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Smithy models SHOULD resemble the following example:

.. code-block:: smithy
$version: "0.5.0"
$version: "1.0.0"
metadata validators = []
metadata suppressions = []
Expand Down
14 changes: 7 additions & 7 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ weather service.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#Weather": {
"type": "service",
Expand Down Expand Up @@ -175,7 +175,7 @@ identifiers, operations, and any number of child resources.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#Weather": {
"type": "service",
Expand Down Expand Up @@ -241,7 +241,7 @@ Each ``City`` has a single ``Forecast``. This can be defined by adding the
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#City": {
"type": "resource",
Expand Down Expand Up @@ -350,7 +350,7 @@ Let's define the operation used to "read" a ``City``.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#GetCity": {
"type": "operation",
Expand Down Expand Up @@ -500,7 +500,7 @@ cities, so there's no way we could provide a ``City`` identifier.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#Weather": {
"type": "service",
Expand Down Expand Up @@ -642,7 +642,7 @@ service.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#Weather": {
"type": "service",
Expand Down Expand Up @@ -836,7 +836,7 @@ Complete example
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"example.weather#Weather": {
"type": "service",
Expand Down
8 changes: 4 additions & 4 deletions docs/source/spec/amazon-apigateway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The following example sets the ``X-API-Key`` header as the API key source.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#Weather": {
"type": "service",
Expand Down Expand Up @@ -294,7 +294,7 @@ Then following example enables request validation on a service:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#Weather": {
"type": "service",
Expand Down Expand Up @@ -421,7 +421,7 @@ operation within the service.
.. code-block:: json
{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#Weather": {
"type": "service",
Expand Down Expand Up @@ -532,7 +532,7 @@ The following example defines an operation that uses a mock integration.
.. code-block:: json
{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyOperation": {
"type": "operation",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/spec/aws-auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Trait value
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"aws.fooBaz#FooBaz": {
"type": "service",
Expand Down Expand Up @@ -116,7 +116,7 @@ operation MUST NOT be used as part of the request signature calculation:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#PutThings": {
"type": "operation",
Expand Down
26 changes: 13 additions & 13 deletions docs/source/spec/aws-core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The following example defines an AWS service that uses the default values of

.. code-tab:: smithy

$version: "0.5.0"
$version: "1.0.0"
namespace aws.fooBaz

use aws.api#service
Expand All @@ -52,7 +52,7 @@ The following example defines an AWS service that uses the default values of
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"aws.fooBaz#FooBaz": {
"type": "service",
Expand All @@ -72,7 +72,7 @@ The following example provides explicit values for all properties:

.. code-tab:: smithy

$version: "0.5.0"
$version: "1.0.0"
namespace aws.fooBaz

use aws.api#service
Expand All @@ -89,7 +89,7 @@ The following example provides explicit values for all properties:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"aws.fooBaz#FooBaz": {
"type": "service",
Expand Down Expand Up @@ -386,7 +386,7 @@ For example, given the following service:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#FooBaz": {
"type": "service",
Expand Down Expand Up @@ -452,7 +452,7 @@ resource.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyResource": {
"type": "resource",
Expand Down Expand Up @@ -551,7 +551,7 @@ referenced resource.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#SomeResourceId": {
"type": "string",
Expand All @@ -574,7 +574,7 @@ previous example:

.. code-tab:: smithy

$version: "0.5.0"
$version: "1.0.0"
namespace smithy.example

use aws.api#arnReference
Expand All @@ -585,7 +585,7 @@ previous example:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#SomeResourceId": {
"type": "string",
Expand Down Expand Up @@ -639,7 +639,7 @@ structure, union, or collection unless overridden.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyStructure": {
"type": "structure",
Expand Down Expand Up @@ -760,7 +760,7 @@ plane unless an operation or resource is marked with the
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#PutThings": {
"type": "operation",
Expand Down Expand Up @@ -814,7 +814,7 @@ plane unless an operation or resource is marked with the
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#PutThings": {
"type": "operation",
Expand Down Expand Up @@ -1010,7 +1010,7 @@ using an ``clientEndpointDiscoveryId``.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"ns.foo#FooService": {
"type": "service",
Expand Down
12 changes: 6 additions & 6 deletions docs/source/spec/aws-iam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Value type
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#FooOperation": {
"type": "operation",
Expand Down Expand Up @@ -112,7 +112,7 @@ The following example's ``MyResource`` resource has the
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -235,7 +235,7 @@ Each condition key structure supports the following members:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -358,7 +358,7 @@ condition key inference disabled.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -439,7 +439,7 @@ operation for it to complete successfully.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -535,7 +535,7 @@ Given the following model,
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/spec/aws-json-protocols.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ See
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -90,7 +90,7 @@ Value type
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down
6 changes: 3 additions & 3 deletions docs/source/spec/aws-query-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -90,7 +90,7 @@ Value type
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down Expand Up @@ -133,7 +133,7 @@ when serializing an INPUT. For example, given the following Smithy model:
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyStruct": {
"type": "structure",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/spec/aws-restjson1-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following example defines a service that uses ``aws.protocols#restJson1``.
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/spec/aws-restxml-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.0.0",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down
Loading

0 comments on commit 66a1119

Please sign in to comment.