Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update model version from 0.5.0 to 1.0.0 #357

Merged
merged 3 commits into from
Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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' # The short X.Y version.
release = u'1.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"

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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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"
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",
"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"
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",
"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",
"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",
"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",
"shapes": {
"smithy.example#SomeResourceId": {
"type": "string",
Expand All @@ -574,7 +574,7 @@ previous example:

.. code-tab:: smithy

$version: "0.5.0"
$version: "1.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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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 @@ -44,7 +44,7 @@ See
.. code-tab:: json

{
"smithy": "0.5.0",
"smithy": "1.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",
"shapes": {
"smithy.example#MyService": {
"type": "service",
Expand Down
Loading