diff options
Diffstat (limited to 'tests/examplefiles/smithy/test.smithy')
-rw-r--r-- | tests/examplefiles/smithy/test.smithy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/examplefiles/smithy/test.smithy b/tests/examplefiles/smithy/test.smithy index 3d20f064..9317fee9 100644 --- a/tests/examplefiles/smithy/test.smithy +++ b/tests/examplefiles/smithy/test.smithy @@ -2,6 +2,18 @@ $version: "1.0" namespace test +metadata "foo" = ["bar", "baz"] +metadata validators = [ + { + name: "ValidatorName" + id: "ValidatorId" + message: "Some string" + configuration: { + selector: "operation" + } + } +] + /// Define how an HTTP request is serialized given a specific protocol, /// authentication scheme, and set of input parameters. @trait(selector: "operation") |