diff --git a/docs/source/1.0/spec/core/auth-traits.rst b/docs/source/1.0/spec/core/auth-traits.rst index efdb3b1daaf..a953a61408b 100644 --- a/docs/source/1.0/spec/core/auth-traits.rst +++ b/docs/source/1.0/spec/core/auth-traits.rst @@ -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 {} diff --git a/docs/source/1.0/spec/core/idl.rst b/docs/source/1.0/spec/core/idl.rst index 1262f2a4aeb..ea4fca944b2 100644 --- a/docs/source/1.0/spec/core/idl.rst +++ b/docs/source/1.0/spec/core/idl.rst @@ -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