Skip to content

Commit

Permalink
Fix auth and node examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed Nov 24, 2020
1 parent ccf1b36 commit a1bb42e
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docs/source/1.0/spec/core/auth-traits.rst
Original file line number Diff line number Diff line change
@@ -375,7 +375,10 @@ authentication scheme trait that is not applied to the service:
.. code-block:: smithy
@httpDigestAuth
@auth([httpBasicAuth]) // <-- Invalid!
service InvalidExample {
version: "2017-02-11"
version: "2017-02-11",
operations: [OperationA]
}
@auth([httpBasicAuth]) // <-- Invalid!
operation OperationA {}
2 changes: 1 addition & 1 deletion docs/source/1.0/spec/core/idl.rst
Original file line number Diff line number Diff line change
@@ -1559,7 +1559,7 @@ The following examples define objects with zero, one, and two key value pairs:

* ``{}``
* ``{foo: true}``
* ``{foo: "hello", "bar": [1, 2, {},}``
* ``{foo: "hello", "bar": [1, 2, {}]}``

.. rubric:: Number node

0 comments on commit a1bb42e

Please sign in to comment.