From 66a111953a2fad0f344532badbb7a180e400719f Mon Sep 17 00:00:00 2001 From: Chase Coalwell Date: Fri, 3 Apr 2020 11:36:50 -0700 Subject: [PATCH] Update model version from 0.5.0 to 1.0.0 (#357) --- docs/source/conf.py | 4 +- docs/source/guides/style-guide.rst | 2 +- docs/source/quickstart.rst | 14 +- docs/source/spec/amazon-apigateway.rst | 8 +- docs/source/spec/aws-auth.rst | 4 +- docs/source/spec/aws-core.rst | 26 ++-- docs/source/spec/aws-iam.rst | 12 +- docs/source/spec/aws-json-protocols.rst | 4 +- docs/source/spec/aws-query-protocol.rst | 6 +- docs/source/spec/aws-restjson1-protocol.rst | 2 +- docs/source/spec/aws-restxml-protocol.rst | 2 +- docs/source/spec/core.rst | 136 +++++++++--------- docs/source/spec/event-streams.rst | 20 +-- .../spec/http-protocol-compliance-tests.rst | 6 +- docs/source/spec/http.rst | 2 +- docs/source/spec/language-specification.rst | 34 ++--- docs/source/spec/mqtt.rst | 6 +- docs/source/spec/xml.rst | 18 +-- .../apigateway/openapi/api-key-source.json | 2 +- .../aws/apigateway/openapi/authorizers.json | 2 +- .../apigateway/openapi/basic-authorizers.json | 2 +- .../aws/apigateway/openapi/binary-types.json | 2 +- .../openapi/cloudformation-substitutions.json | 2 +- .../openapi/cognito-user-pools-security.json | 2 +- .../openapi/cors-explicit-options.json | 2 +- .../aws/apigateway/openapi/cors-model.json | 2 +- .../openapi/custom-auth-type-authorizer.json | 2 +- .../integrations-without-credentials.json | 2 +- .../aws/apigateway/openapi/integrations.json | 2 +- .../invalid-cognito-user-pools-security.json | 2 +- .../openapi/request-validators.json | 2 +- .../META-INF/smithy/aws.apigateway.json | 2 +- .../errorfiles/invalid-authorizers.json | 2 +- .../traits/errorfiles/valid-integration.json | 2 +- .../apigateway/traits/integration-index.json | 2 +- .../resources/META-INF/smithy/aws.iam.json | 2 +- .../iam/traits/invalid-condition-keys.smithy | 2 +- .../aws/iam/traits/required-actions.smithy | 2 +- .../traits/successful-condition-keys.smithy | 2 +- .../model/awsJson1_1/main.json | 2 +- .../model/awsQuery/empty-input-output.smithy | 2 +- .../model/awsQuery/input-lists.smithy | 2 +- .../model/awsQuery/input-maps.smithy | 2 +- .../model/awsQuery/input.smithy | 2 +- .../model/awsQuery/main.smithy | 2 +- .../model/awsQuery/xml-errors.smithy | 2 +- .../model/awsQuery/xml-lists.smithy | 2 +- .../model/awsQuery/xml-maps.smithy | 2 +- .../model/awsQuery/xml-structs.smithy | 2 +- .../model/ec2Query/empty-input-output.smithy | 2 +- .../model/ec2Query/input-lists.smithy | 2 +- .../model/ec2Query/input.smithy | 2 +- .../model/ec2Query/main.smithy | 2 +- .../model/ec2Query/xml-errors.smithy | 2 +- .../model/ec2Query/xml-lists.smithy | 2 +- .../model/ec2Query/xml-structs.smithy | 2 +- .../model/restJson1/empty-input-output.smithy | 2 +- .../restJson1/endpoint-host-trait.smithy | 2 +- .../model/restJson1/errors.smithy | 2 +- .../model/restJson1/http-headers.smithy | 2 +- .../model/restJson1/http-labels.smithy | 2 +- .../model/restJson1/http-payload.smithy | 2 +- .../restJson1/http-prefix-headers.smithy | 2 +- .../model/restJson1/http-query.smithy | 2 +- .../model/restJson1/json-lists.smithy | 2 +- .../model/restJson1/json-maps.smithy | 2 +- .../model/restJson1/json-structs.smithy | 2 +- .../model/restJson1/main.smithy | 2 +- .../model/restXml/document-lists.smithy | 2 +- .../model/restXml/document-maps.smithy | 2 +- .../model/restXml/document-structs.smithy | 2 +- .../restXml/document-xml-attributes.smithy | 2 +- .../model/restXml/empty-input-output.smithy | 2 +- .../model/restXml/endpoint-host-trait.smithy | 2 +- .../model/restXml/errors.smithy | 2 +- .../model/restXml/http-headers.smithy | 2 +- .../model/restXml/http-labels.smithy | 2 +- .../model/restXml/http-payload.smithy | 2 +- .../model/restXml/http-prefix-headers.smithy | 2 +- .../model/restXml/http-query.smithy | 2 +- .../model/restXml/main.smithy | 2 +- .../model/shared-types.smithy | 2 +- .../resources/META-INF/smithy/aws.api.json | 2 +- .../resources/META-INF/smithy/aws.auth.json | 2 +- .../META-INF/smithy/aws.protocols.json | 2 +- .../traits/auth/unsigned-request-payload.json | 2 +- .../endpoint-operation-unbound.json | 2 +- .../multiple-configured-services.json | 2 +- .../no-configured-operations.json | 2 +- .../no-operation-discovery.json | 2 +- .../service-not-configured.json | 2 +- .../clientendpointdiscovery/test-model.json | 2 +- .../aws/traits/data-classification-model.json | 2 +- .../smithy/aws/traits/effective-arns.json | 2 +- .../endpoint-shape-not-structure.json | 2 +- .../endpoints-not-list.json | 2 +- .../invalid-endpoint-structure.json | 2 +- .../invalid-input-shape.json | 2 +- .../no-endpoints-member.json | 2 +- .../clientendpointdiscovery/no-input.json | 2 +- .../clientendpointdiscovery/no-output.json | 2 +- .../aws/traits/errorfiles/ec2-query-name.json | 2 +- .../smithy/aws/traits/errorfiles/sdk-id.json | 2 +- .../aws/traits/infinite-recursive-model.json | 2 +- .../traits/invalid-arn-template-string.json | 2 +- .../aws/traits/not-enough-identifiers.json | 2 +- .../amazon/smithy/aws/traits/planes.json | 2 +- .../amazon/smithy/aws/traits/test-model.json | 2 +- .../aws/traits/too-many-identifiers.json | 2 +- .../amazon/smithy/build/imports/a.json | 2 +- .../amazon/smithy/build/imports/b.json | 2 +- .../amazon/smithy/build/imports/c.json | 2 +- .../amazon/smithy/build/imports/main.json | 2 +- .../smithy/build/plugins/sources/c/c.json | 2 +- .../build/plugins/sources/jar-import.jar | Bin 1396 -> 1392 bytes .../amazon/smithy/build/resource-model.json | 2 +- .../amazon/smithy/build/simple-model.json | 2 +- .../smithy/build/transforms/tree-shaker.json | 2 +- .../build/transforms/tree-shaking-traits.json | 2 +- .../smithy/jsonschema/multiple-closures.json | 2 +- .../amazon/smithy/jsonschema/recursive.json | 2 +- .../smithy/jsonschema/test-service.json | 2 +- .../abbreviation-name-validator-test.json | 2 +- .../camel-case-validator-defaults-test.json | 2 +- .../contains-reserved-words-validator.json | 2 +- .../emit-each-selector-validator.json | 2 +- .../emit-none-selector-validator.json | 2 +- .../input-output-structure-reuse.json | 2 +- .../missing-documentation-selector-test.json | 2 +- .../missing-paginated-trait-validator.json | 2 +- .../should-have-used-timestamp-ignore.json | 2 +- .../should-have-used-timestamp.json | 2 +- ...tandard-operation-verb-validator-test.json | 2 +- .../errorfiles/stuttered-shape-name.json | 2 +- .../errorfiles/validator-loading-test.json | 2 +- .../software/amazon/smithy/model/Model.java | 2 +- .../smithy/model/loader/AstModelLoader.java | 2 +- .../smithy/model/loader/ModelLoader.java | 5 +- .../smithy/model/loader/SmithyVersion.java | 2 +- .../smithy/model/loader/prelude-traits.smithy | 2 +- .../model/loader/ModelAssemblerTest.java | 4 +- ...map-allows-no-additional-properties.errors | 0 .../map-allows-no-additional-properties.json | 2 +- ...bers-allow-no-additional-properties.errors | 0 ...embers-allow-no-additional-properties.json | 2 +- .../metadata-must-be-object.errors | 0 .../metadata-must-be-object.json | 2 +- ...on-requires-reference-object-errors.errors | 0 ...tion-requires-reference-object-errors.json | 2 +- ...ion-requires-reference-object-input.errors | 0 ...ation-requires-reference-object-input.json | 2 +- ...on-requires-reference-object-output.errors | 0 ...tion-requires-reference-object-output.json | 2 +- ...ejects-invalid-top-level-properties.errors | 0 .../rejects-invalid-top-level-properties.json | 2 +- .../shape-defs-must-not-have-members.errors | 0 .../shape-defs-must-not-have-members.json | 2 +- ...apes-allow-no-additional-properties.errors | 0 ...shapes-allow-no-additional-properties.json | 2 +- .../shapes-must-be-object.errors | 0 .../shapes-must-be-object.json | 2 +- .../shapes-must-contain-shape-id-keys.errors | 0 .../shapes-must-contain-shape-id-keys.json | 2 +- ...ure-allows-no-additional-properties.errors | 0 ...cture-allows-no-additional-properties.json | 2 +- ...trait-applied-to-non-existent-shape.errors | 0 .../trait-applied-to-non-existent-shape.json | 2 +- .../trait-duplicates.errors | 0 .../trait-duplicates.json | 2 +- .../traits-must-be-absolute-ids.errors | 0 .../traits-must-be-absolute-ids.json | 2 +- ...ors-and-suppressions-must-be-arrays.errors | 0 ...ators-and-suppressions-must-be-arrays.json | 2 +- ...th-trait-must-target-auth-definitions.json | 2 +- ...uth-trait-must-target-service-schemes.json | 2 +- .../validators/custom-trait-validation.json | 2 +- .../deprecated-trait-validator.json | 2 +- .../validators/deprecated-trait.json | 2 +- .../validators/enum-trait-validation.json | 2 +- .../errorfiles/validators/error-trait.json | 2 +- .../validators/event-payload-validation.json | 2 +- .../validators/event-stream-validator.json | 2 +- .../validators/examples-trait-validator.json | 2 +- ...ive-structure-member-traits-validator.json | 2 +- .../validators/external-documentation.json | 2 +- .../validators/finds-conflicting-traits.json | 2 +- .../validators/host-request-validator.json | 2 +- .../http-bindings-missing-validator.json | 2 +- .../http-method-semantics-validator.json | 2 +- .../http-request-response-validator.json | 2 +- ...ttp-response-code-semantics-validator.json | 2 +- .../http-uri-conflict-validator.json | 2 +- .../errorfiles/validators/idref-trait.json | 2 +- ...nput-output-must-not-have-error-trait.json | 2 +- .../errorfiles/validators/json-name.json | 2 +- .../errorfiles/validators/length-trait.json | 2 +- .../lifecycle/valid-implicit-lifecycles.json | 2 +- .../validates-idempotent-lifecycles.json | 2 +- ...es-instance-and-collection-operations.json | 2 +- .../validates-readonly-lifecycles.json | 2 +- .../validators/no-replace-trait.json | 2 +- .../validators/paginated-trait-test.json | 2 +- .../errorfiles/validators/private-access.json | 2 +- .../errorfiles/validators/range-trait.json | 2 +- .../validators/references/bad-ids.json | 2 +- ...string-reference-multiple-identifiers.json | 2 +- ...valid-string-shape-reference-with-ids.json | 2 +- .../missing-identifier-reference.json | 2 +- .../reference-id-member-not-found.json | 2 +- .../reference-must-target-resource.json | 2 +- .../references/valid-implicit-references.json | 2 +- .../errorfiles/validators/request-token.json | 2 +- .../validators/resource-identifier.json | 2 +- ...resource-must-bind-parent-identifiers.json | 2 +- .../resource-operation-binding-validator.json | 2 +- .../validators/resource-parent-validator.json | 2 +- .../validators/sensitive-trait.json | 2 +- .../service-conflict-validator.json | 2 +- .../validators/shape-recursion.json | 2 +- .../validators/single-operation-binding.json | 2 +- .../validators/single-resource-binding.json | 2 +- .../validators/streaming-trait.json | 2 +- .../validators/target-validator.json | 2 +- .../validators/timestampFormat-trait.json | 2 +- .../errorfiles/validators/trait-target.json | 2 +- .../validators/unique-structure-member.json | 2 +- .../validators/unique-taggedunion-member.json | 2 +- .../unreferenced-shape-validator.json | 2 +- .../validators/unstable-trait-validator.json | 2 +- .../errorfiles/validators/xml-flattened.json | 2 +- .../model/errorfiles/validators/xml-name.json | 2 +- .../errorfiles/validators/xml-namespace.json | 2 +- .../model/knowledge/event-stream-index.json | 2 +- .../smithy/model/knowledge/http-index.json | 2 +- .../model/knowledge/operation-index-test.json | 2 +- .../amazon/smithy/model/loader/errors.json | 2 +- .../model/loader/first-namespace.smithy | 2 +- .../model/loader/invalid-shape-types.json | 2 +- .../loader/invalid-validation-selector.json | 2 +- .../control-statement-before-others.smithy | 2 +- .../control-version-defined-twice.smithy | 6 +- .../invalid/control-with-invalid-key.smithy | 2 +- .../invalid/control-with-no-colon.smithy | 2 +- ...metadata-must-come-before-namespace.smithy | 2 +- .../invalid/namespace-defined-twice.smithy | 2 +- .../loader/invalid/use/conflicting-use.smithy | 2 +- .../invalid/use/use-empty-namespace.smithy | 2 +- .../invalid/use/use-invalid-namespace.smithy | 2 +- .../use/use-missing-after-namespace.smithy | 2 +- .../invalid/use/use-missing-namespace.smithy | 2 +- .../use/use-must-come-after-namespace.smithy | 2 +- .../invalid/use/use-requires-newline.smithy | 2 +- .../use/use-statement-invalid-id.smithy | 2 +- .../amazon/smithy/model/loader/jar-import.jar | Bin 1396 -> 1392 bytes .../amazon/smithy/model/loader/main.json | 2 +- .../amazon/smithy/model/loader/merges-1.json | 2 +- .../model/loader/metadata-conflicts-2.json | 2 +- .../model/loader/metadata-conflicts.json | 2 +- .../smithy/model/loader/nested/merges-2.json | 2 +- .../smithy/model/loader/nested/merges-3.json | 2 +- .../model/loader/nested/other-ion-model.json | 2 +- .../model/loader/nested/other-json-model.json | 2 +- .../model/loader/null-coerce-traits.json | 2 +- .../smithy/model/loader/other-top-level.json | 2 +- .../model/loader/second-namespace.smithy | 2 +- .../loader/string-member-external-traits.json | 2 +- .../loader/test-foo-protocol-validator.json | 2 +- .../loader/valid/deprecated-operations.json | 2 +- .../model/loader/valid/doc-comments.json | 2 +- .../smithy/model/loader/valid/empty.json | 2 +- .../valid/forward-reference-resolver.json | 2 +- .../model/loader/valid/list-and-sets.json | 2 +- .../smithy/model/loader/valid/main-test.json | 2 +- .../smithy/model/loader/valid/maps.json | 2 +- .../smithy/model/loader/valid/metadata.json | 2 +- .../valid/multiple-traits-same-name.json | 2 +- .../model/loader/valid/simple-shapes.json | 2 +- .../smithy/model/loader/valid/structures.json | 2 +- .../model/loader/valid/trait-definitions.json | 2 +- .../smithy/model/loader/valid/traits.json | 2 +- .../smithy/model/loader/valid/unions.json | 2 +- .../valid/unknown-control-statement.json | 2 +- .../model/loader/valid/use/use-shapes.json | 2 +- .../model/loader/valid/use/use-shapes.smithy | 2 +- .../model/loader/valid/use/use-traits.json | 2 +- .../model/loader/valid/use/use-traits.smithy | 2 +- .../smithy/model/loader/valid/version.json | 2 +- .../smithy/model/loader/valid/version.smithy | 2 +- .../model/neighbor/unreferenced-test.json | 2 +- .../model/selector/model-custom-trait.json | 2 +- .../amazon/smithy/model/selector/model.json | 2 +- .../cases/boolean-traits.smithy | 2 +- .../cases/collection-traits.smithy | 2 +- .../cases/document-traits.smithy | 2 +- .../cases/documentation-trait.smithy | 2 +- .../idl-serialization/cases/metadata.smithy | 2 +- .../cases/number-traits.smithy | 2 +- .../cases/object-traits.smithy | 2 +- .../optional-namespaces-are-stripped.smithy | 2 +- .../cases/service-shapes.smithy | 2 +- .../cases/simple-shapes.smithy | 2 +- .../cases/string-traits.smithy | 2 +- .../multiple-namespaces/input.json | 2 +- .../output/ns.primitives.smithy | 2 +- .../output/ns.structures.smithy | 2 +- .../shapes/idl-serialization/test-model.json | 2 +- .../smithy/model/shapes/test-model.json | 2 +- .../transform/integration-test-model.json | 2 +- .../model/transform/scrub-trait-def.json | 2 +- .../smithy/model/transform/test-model.json | 2 +- .../model/validation/node-validator.json | 2 +- .../testrunner/testrunner/invalid/b.json | 2 +- .../testrunner/testrunner/valid/b.json | 2 +- .../META-INF/smithy/smithy.api.mqtt.smithy | 2 +- .../fromsmithy/adds-empty-response.json | 2 +- .../fromsmithy/missing-http-bindings.json | 2 +- .../fromsmithy/missing-protocols-trait.json | 2 +- .../fromsmithy/mixed-security-service.json | 2 +- .../adds-header-mediatype-format.json | 2 +- .../adds-header-timestamp-format.json | 2 +- .../protocols/adds-json-document-bodies.json | 2 +- .../protocols/adds-path-timestamp-format.json | 2 +- .../protocols/adds-query-blob-format.json | 2 +- .../adds-query-timestamp-format.json | 2 +- .../aws-rest-json-uses-jsonname.json | 2 +- .../protocols/supports-payloads.json | 2 +- .../protocols/synthesizes-contents.json | 2 +- .../fromsmithy/security/awsv4-security.json | 2 +- .../security/http-api-key-security.json | 2 +- .../security/http-basic-security.json | 2 +- .../security/http-digest-security.json | 2 +- .../openapi/fromsmithy/tagged-service.json | 2 +- .../openapi/fromsmithy/test-service.json | 2 +- .../unable-to-resolve-protocol.json | 2 +- .../fromsmithy/unsupported-http-method.json | 2 +- .../META-INF/smithy/smithy.test.smithy | 2 +- 336 files changed, 458 insertions(+), 457 deletions(-) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/map-allows-no-additional-properties.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/map-allows-no-additional-properties.json (92%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/members-allow-no-additional-properties.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/members-allow-no-additional-properties.json (90%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/metadata-must-be-object.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/metadata-must-be-object.json (53%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-errors.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-errors.json (93%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-input.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-input.json (90%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-output.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/operation-requires-reference-object-output.json (90%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/rejects-invalid-top-level-properties.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/rejects-invalid-top-level-properties.json (72%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shape-defs-must-not-have-members.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shape-defs-must-not-have-members.json (80%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-allow-no-additional-properties.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-allow-no-additional-properties.json (84%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-must-be-object.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-must-be-object.json (51%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-must-contain-shape-id-keys.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/shapes-must-contain-shape-id-keys.json (77%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/structure-allows-no-additional-properties.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/structure-allows-no-additional-properties.json (84%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/trait-applied-to-non-existent-shape.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/trait-applied-to-non-existent-shape.json (90%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/trait-duplicates.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/trait-duplicates.json (97%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/traits-must-be-absolute-ids.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/traits-must-be-absolute-ids.json (89%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/validators-and-suppressions-must-be-arrays.errors (100%) rename smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/{version_0_5_0 => version_1_0_0}/validators-and-suppressions-must-be-arrays.json (81%) diff --git a/docs/source/conf.py b/docs/source/conf.py index ee5bcf86993..bbc56b070b8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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. diff --git a/docs/source/guides/style-guide.rst b/docs/source/guides/style-guide.rst index ff6230a13b7..8c99d5e9abc 100644 --- a/docs/source/guides/style-guide.rst +++ b/docs/source/guides/style-guide.rst @@ -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 = [] diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 04f66b55363..d40d251fb4f 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -120,7 +120,7 @@ weather service. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.weather#Weather": { "type": "service", @@ -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", @@ -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", @@ -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", @@ -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", @@ -642,7 +642,7 @@ service. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.weather#Weather": { "type": "service", @@ -836,7 +836,7 @@ Complete example .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.weather#Weather": { "type": "service", diff --git a/docs/source/spec/amazon-apigateway.rst b/docs/source/spec/amazon-apigateway.rst index 63c231a20ea..57b249fa8eb 100644 --- a/docs/source/spec/amazon-apigateway.rst +++ b/docs/source/spec/amazon-apigateway.rst @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/docs/source/spec/aws-auth.rst b/docs/source/spec/aws-auth.rst index 2f4bba30fcb..c54e29b092a 100644 --- a/docs/source/spec/aws-auth.rst +++ b/docs/source/spec/aws-auth.rst @@ -60,7 +60,7 @@ Trait value .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.fooBaz#FooBaz": { "type": "service", @@ -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", diff --git a/docs/source/spec/aws-core.rst b/docs/source/spec/aws-core.rst index 0252154a4e6..57ab1e5e11d 100644 --- a/docs/source/spec/aws-core.rst +++ b/docs/source/spec/aws-core.rst @@ -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 @@ -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", @@ -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 @@ -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", @@ -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", @@ -452,7 +452,7 @@ resource. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyResource": { "type": "resource", @@ -551,7 +551,7 @@ referenced resource. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SomeResourceId": { "type": "string", @@ -574,7 +574,7 @@ previous example: .. code-tab:: smithy - $version: "0.5.0" + $version: "1.0.0" namespace smithy.example use aws.api#arnReference @@ -585,7 +585,7 @@ previous example: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SomeResourceId": { "type": "string", @@ -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", @@ -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", @@ -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", @@ -1010,7 +1010,7 @@ using an ``clientEndpointDiscoveryId``. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/docs/source/spec/aws-iam.rst b/docs/source/spec/aws-iam.rst index f7a195e6398..110ea03fbee 100644 --- a/docs/source/spec/aws-iam.rst +++ b/docs/source/spec/aws-iam.rst @@ -51,7 +51,7 @@ Value type .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#FooOperation": { "type": "operation", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/docs/source/spec/aws-json-protocols.rst b/docs/source/spec/aws-json-protocols.rst index 070cba2c630..d1a3d42c68d 100644 --- a/docs/source/spec/aws-json-protocols.rst +++ b/docs/source/spec/aws-json-protocols.rst @@ -45,7 +45,7 @@ See .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -90,7 +90,7 @@ Value type .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", diff --git a/docs/source/spec/aws-query-protocol.rst b/docs/source/spec/aws-query-protocol.rst index 86a204bfb3b..7bf5e7539cc 100644 --- a/docs/source/spec/aws-query-protocol.rst +++ b/docs/source/spec/aws-query-protocol.rst @@ -44,7 +44,7 @@ See .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -90,7 +90,7 @@ Value type .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -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", diff --git a/docs/source/spec/aws-restjson1-protocol.rst b/docs/source/spec/aws-restjson1-protocol.rst index e7ac0c19cad..19529a94078 100644 --- a/docs/source/spec/aws-restjson1-protocol.rst +++ b/docs/source/spec/aws-restjson1-protocol.rst @@ -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", diff --git a/docs/source/spec/aws-restxml-protocol.rst b/docs/source/spec/aws-restxml-protocol.rst index 09c089dc614..5c652c90c01 100644 --- a/docs/source/spec/aws-restxml-protocol.rst +++ b/docs/source/spec/aws-restxml-protocol.rst @@ -44,7 +44,7 @@ See .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", diff --git a/docs/source/spec/core.rst b/docs/source/spec/core.rst index 29252013be3..f08720f8b2b 100644 --- a/docs/source/spec/core.rst +++ b/docs/source/spec/core.rst @@ -68,12 +68,12 @@ example sets the version to "|version|": .. code-tab:: smithy - $version: "0.5.0" + $version: "1.0.0" .. code-tab:: json { - "smithy": "0.5.0" + "smithy": "1.0.0" } When no version number is specified in the IDL, an implementation will assume @@ -116,7 +116,7 @@ are defined. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "foo": "baz", "hello": "bar", @@ -160,7 +160,7 @@ The following example defines a string shape named ``MyString`` in the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string" @@ -256,7 +256,7 @@ The following example defines a shape for each simple type in the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Blob": { "type": "blob" @@ -406,7 +406,7 @@ The following example defines a list with a string member from the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "member": { @@ -431,7 +431,7 @@ Traits can be applied to the list shape and its member: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "member": { @@ -466,7 +466,7 @@ definition using an ``apply`` statement: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "type": "apply", @@ -506,7 +506,7 @@ The following example defines a set of strings: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#StringSet": { "member": { @@ -534,7 +534,7 @@ Traits can be applied to the set shape and its members: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#StringSet": { "member": { @@ -586,7 +586,7 @@ The following example defines a map of strings to integers: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#IntegerMap": { "key": { @@ -621,7 +621,7 @@ Traits can be applied to the map shape and its members: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#IntegerMap": { "key": { @@ -687,7 +687,7 @@ The following example defines a structure with two members: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -723,7 +723,7 @@ using the ``apply`` statement: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -781,7 +781,7 @@ The following example defines a union shape with several members: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyUnion": { "type": "structure", @@ -836,7 +836,7 @@ targets the ``MyString`` shape in the same namespace. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "member": { @@ -860,7 +860,7 @@ Traits can be attached to members before the member definition: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "member": { @@ -887,7 +887,7 @@ applied to shapes outside of their definition in the JSON AST using the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList$member": { "type": "apply", @@ -949,7 +949,7 @@ The following shape definition is invalid: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#RecursiveList": { "type": "list", @@ -977,7 +977,7 @@ The following shape definition is valid: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ValidList": { "type": "list", @@ -1038,7 +1038,7 @@ service. A service is defined using a :token:`service_statement`. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -1097,7 +1097,7 @@ that do not fit within a resource hierarchy. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -1140,7 +1140,7 @@ shape ID of a resource to the ``resources`` property of a service. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -1236,7 +1236,7 @@ can potentially return the ``NotFound`` or ``BadRequest`` .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyOperation": { "type": "operation", @@ -1280,7 +1280,7 @@ named ``Input``: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyOperation": { "type": "operation", @@ -1314,7 +1314,7 @@ structure named ``Output``: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyOperation": { "type": "operation", @@ -1351,7 +1351,7 @@ returns no output, and can potentially return the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyOperation": { "type": "operation", @@ -1452,7 +1452,7 @@ single identifier named ``forecastId`` that targets the ``ForecastId`` shape: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Forecast": { "type": "resource", @@ -1511,7 +1511,7 @@ For example, given the following model, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ResourceA": { "type": "resource", @@ -1596,7 +1596,7 @@ define an ``identifiers`` property that is compatible with their parents: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ResourceA": { "type": "resource", @@ -1717,7 +1717,7 @@ For example, given the following model, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Forecast": { "type": "resource", @@ -1802,7 +1802,7 @@ Given the following model, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Forecast": { "type": "resource", @@ -2312,7 +2312,7 @@ For example, given the following Smithy model: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -2459,7 +2459,7 @@ JSON AST model: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "String": "smithy.api#String" } @@ -2481,7 +2481,7 @@ defined in the prelude are available inside of the ``smithy.api`` namespace. :caption: Smithy prelude :name: prelude-shapes - $version: "0.5.0" + $version: "1.0.0" namespace smithy.api @@ -2572,7 +2572,7 @@ to ``MyString``: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -2610,7 +2610,7 @@ The following example applies the :ref:`documentation-trait` and .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "apply", @@ -2680,7 +2680,7 @@ following example defines an annotation trait named ``foo``: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#foo": { "type": "structure", @@ -2719,7 +2719,7 @@ The following applications of the ``foo`` annotation trait are all equivalent: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString1": { "type": "string", @@ -2770,7 +2770,7 @@ example and the following example are all valid even after adding a member to th .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#foo": { "type": "structure", @@ -2885,7 +2885,7 @@ The following example defines a trait named ``myTraitName`` in the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#myTraitName": { "type": "structure", @@ -2920,7 +2920,7 @@ namespace: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -3017,7 +3017,7 @@ The following example defines two custom traits: ``beta`` and .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#beta": { "type": "apply", @@ -3212,7 +3212,7 @@ is wrapped in an `Option type`_. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#BoxedInteger": { "type": "integer", @@ -3269,7 +3269,7 @@ The ``deprecated`` trait is a structure that supports the following members: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SomeString": { "type": "string", @@ -3518,7 +3518,7 @@ The following example defines an enum of valid string values for ``MyString``. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -3617,7 +3617,7 @@ contain a valid shape ID that targets an integer shape in the model. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#integerRef": { "type": "string", @@ -3660,7 +3660,7 @@ Given the following model, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#InvalidShape1": { "type": "string", @@ -3763,7 +3763,7 @@ blob The size of the blob in bytes .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -3807,7 +3807,7 @@ languages. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -3884,7 +3884,7 @@ of the targeted numeric shape to which it is applied. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyInt": { "type": "integer", @@ -3932,7 +3932,7 @@ in a response. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -3974,7 +3974,7 @@ Value type .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "type": "list", @@ -4245,7 +4245,7 @@ explicitly on the operation. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetFoos": { "type": "operation", @@ -4330,7 +4330,7 @@ settings from a service. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Example": { "type": "service", @@ -4413,7 +4413,7 @@ wrapper where the output token and items are referenced by paths. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetFoos": { "type": "operation", @@ -4635,7 +4635,7 @@ to call ``CreateTable`` on a table that already exists will return an error. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Table": { "type": "resource", @@ -4900,7 +4900,7 @@ The following example defines a service that supports both the hypothetical .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#WeatherService": { "type": "service", @@ -4982,7 +4982,7 @@ Given the following structure definition, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -5159,7 +5159,7 @@ and the hypothetical ``fooExample`` authentication scheme. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#WeatherService": { "type": "service", @@ -5408,7 +5408,7 @@ The following example defines two operations: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#AuthenticatedService": { "type": "service", @@ -5522,7 +5522,7 @@ For example, given the following model, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Foo": { "type": "structure", @@ -5838,7 +5838,7 @@ The following example defines an operation that uses a custom endpoint: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", @@ -5904,7 +5904,7 @@ Given the following operation, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", @@ -5973,7 +5973,7 @@ Given the following operation, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", @@ -6038,7 +6038,7 @@ invalid because the ``{foo}`` and ``{bar}`` labels are adjacent: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", @@ -6106,7 +6106,7 @@ Given the following operation, .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", @@ -6196,7 +6196,7 @@ to an operation marked with the :ref:`endpoint-trait` will be ignored. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#GetStatus": { "type": "operation", diff --git a/docs/source/spec/event-streams.rst b/docs/source/spec/event-streams.rst index 414134f6b51..f298b325d2e 100644 --- a/docs/source/spec/event-streams.rst +++ b/docs/source/spec/event-streams.rst @@ -60,7 +60,7 @@ stream in its input: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PublishMessages": { "type": "operation", @@ -121,7 +121,7 @@ stream in its output: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SubscribeToMovements": { "type": "operation", @@ -219,7 +219,7 @@ stream in its input by referencing a member that targets a union: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PublishMessages": { "type": "operation", @@ -297,7 +297,7 @@ stream in its output: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SubscribeToMovements": { "type": "operation", @@ -451,7 +451,7 @@ service, followed by the events sent in the payload of the HTTP message. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PublishMessages": { "type": "operation", @@ -543,7 +543,7 @@ message. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PublishMessages": { "type": "operation", @@ -640,7 +640,7 @@ headers and the "c" member as the payload. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ExampleEvent": { "type": "structure", @@ -685,7 +685,7 @@ based protocol, the event payload is serialized as a JSON object: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ExampleEvent": { "type": "structure", @@ -779,7 +779,7 @@ The following example defines multiple event headers: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ExampleEvent": { "type": "structure", @@ -849,7 +849,7 @@ of an event: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ExampleEvent": { "type": "structure", diff --git a/docs/source/spec/http-protocol-compliance-tests.rst b/docs/source/spec/http-protocol-compliance-tests.rst index 6a47739fdae..93410db4ec8 100644 --- a/docs/source/spec/http-protocol-compliance-tests.rst +++ b/docs/source/spec/http-protocol-compliance-tests.rst @@ -249,7 +249,7 @@ that uses :ref:`HTTP binding traits `. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SayHello": { "type": "operation", @@ -436,7 +436,7 @@ that uses :ref:`HTTP binding traits `. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SayGoodbye": { "type": "operation", @@ -522,7 +522,7 @@ that uses :ref:`HTTP binding traits `. .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#InvalidGreeting": { "type": "structure", diff --git a/docs/source/spec/http.rst b/docs/source/spec/http.rst index 2dcd59adc81..d8d98c60c9c 100644 --- a/docs/source/spec/http.rst +++ b/docs/source/spec/http.rst @@ -962,7 +962,7 @@ and HTTP bindings: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PublishMessages": { "type": "operation", diff --git a/docs/source/spec/language-specification.rst b/docs/source/spec/language-specification.rst index 6e1c4f81721..be3b79ddcab 100644 --- a/docs/source/spec/language-specification.rst +++ b/docs/source/spec/language-specification.rst @@ -96,7 +96,7 @@ Only a single version statement can appear in a model file. .. code-block:: smithy :caption: Example - $version: "0.5.0" + $version: "1.0.0" .. _metadata-statement: @@ -301,7 +301,7 @@ is equivalent to the following JSON model: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -348,7 +348,7 @@ The following documentation comments are all invalid. .. code-block:: smithy /// Invalid (cannot apply to control statements) - $version: "0.5.0" + $version: "1.0.0" /// Invalid (cannot apply to namespaces) namespace smithy.example @@ -881,7 +881,7 @@ a ``type`` property to define the shape type or ``apply``. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string" @@ -911,7 +911,7 @@ The following example defines a string shape with a documentation trait. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", @@ -932,7 +932,7 @@ example defines a shape for each simple type: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Blob": { "type": "blob" @@ -988,7 +988,7 @@ The following example defines a list with a string member: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "type": "list", @@ -1004,7 +1004,7 @@ The following example defines a set with a string member: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MySet": { "type": "set", @@ -1042,7 +1042,7 @@ The following example defines a list shape and its member. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "type": "list", @@ -1077,7 +1077,7 @@ list of a service shape. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", @@ -1106,7 +1106,7 @@ The following example defines a map of strings to numbers: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#IntegerMap": { "type": "map", @@ -1140,7 +1140,7 @@ member: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -1164,7 +1164,7 @@ The following example defines a union: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyUnion": { "type": "union", @@ -1218,7 +1218,7 @@ shapes defined in JSON support the same properties as the Smithy IDL. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyService": { "type": "service", @@ -1301,7 +1301,7 @@ shapes defined in JSON support the same properties as the Smithy IDL. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Thing": { "type": "resource", @@ -1385,7 +1385,7 @@ The following example defines an operation, its input, output, and errors: .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyOperation": { "type": "operation", @@ -1437,7 +1437,7 @@ The ``apply`` type allows only the ``traits`` property. .. code-block:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Struct": { "type": "structure", diff --git a/docs/source/spec/mqtt.rst b/docs/source/spec/mqtt.rst index f90ae47d253..4a95d76083b 100644 --- a/docs/source/spec/mqtt.rst +++ b/docs/source/spec/mqtt.rst @@ -114,7 +114,7 @@ and ``{second}``, in the MQTT topic template: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#ExampleOperation": { "type": "operation", @@ -223,7 +223,7 @@ The following example defines an operation that publishes messages to the .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#PostFoo": { "type": "operation", @@ -344,7 +344,7 @@ topic using a :ref:`single-event event stream `: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#SubscribeForEvents": { "type": "operation", diff --git a/docs/source/spec/xml.rst b/docs/source/spec/xml.rst index 8a1f9887dd9..99fdc97a077 100644 --- a/docs/source/spec/xml.rst +++ b/docs/source/spec/xml.rst @@ -85,7 +85,7 @@ members that target it. Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#A": { "type": "structure", @@ -253,7 +253,7 @@ change the nested element name. For example, given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Foo": { "type": "structure", @@ -465,7 +465,7 @@ into a containing structure/union. For example, given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Bar": { "type": "structure", @@ -625,7 +625,7 @@ member name. For example, given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -668,7 +668,7 @@ Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -727,7 +727,7 @@ Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Foo": { "type": "structure", @@ -788,7 +788,7 @@ Maps can be flattened into structures too. Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Foo": { "type": "structure", @@ -879,7 +879,7 @@ elements using the same name as the structure member name. Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", @@ -974,7 +974,7 @@ Given the following: .. code-tab:: json { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyStructure": { "type": "structure", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/api-key-source.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/api-key-source.json index 46ce79e7beb..f61d06dbb68 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/api-key-source.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/api-key-source.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#MyService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/authorizers.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/authorizers.json index f9d03ee805e..28dfefe4df3 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/authorizers.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/authorizers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/basic-authorizers.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/basic-authorizers.json index c85bf0af3f3..0c7bc9c7eaf 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/basic-authorizers.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/basic-authorizers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/binary-types.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/binary-types.json index c769241d6cc..69843107de9 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/binary-types.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/binary-types.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#MyService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cloudformation-substitutions.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cloudformation-substitutions.json index e809f3d14aa..508582e7cb0 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cloudformation-substitutions.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cloudformation-substitutions.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#MyService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cognito-user-pools-security.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cognito-user-pools-security.json index 501276afdb3..f30420b7ea6 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cognito-user-pools-security.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cognito-user-pools-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-explicit-options.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-explicit-options.json index 7a089e71e45..296f5e1af20 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-explicit-options.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-explicit-options.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#MyService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-model.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-model.json index efff8f51904..a92594f396e 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-model.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/cors-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#MyService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/custom-auth-type-authorizer.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/custom-auth-type-authorizer.json index 60aa50b1be4..e188c9649bc 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/custom-auth-type-authorizer.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/custom-auth-type-authorizer.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations-without-credentials.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations-without-credentials.json index 004b864906a..5c9d094db64 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations-without-credentials.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations-without-credentials.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations.json index ee396ab6e78..4d6a5d8b2d8 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/integrations.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/invalid-cognito-user-pools-security.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/invalid-cognito-user-pools-security.json index 89ba80f9bf9..5a0b6ee3ce2 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/invalid-cognito-user-pools-security.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/invalid-cognito-user-pools-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/request-validators.json b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/request-validators.json index 546c8e556cc..59f774e89df 100644 --- a/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/request-validators.json +++ b/smithy-aws-apigateway-openapi/src/test/resources/software/amazon/smithy/aws/apigateway/openapi/request-validators.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json b/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json index 9a4a9bded3d..12dfdb2a165 100644 --- a/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json +++ b/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.apigateway#apiKeySource": { "type": "string", diff --git a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizers.json b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizers.json index 8e8db36ed17..f600156d3c7 100644 --- a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizers.json +++ b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/valid-integration.json b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/valid-integration.json index 95c12bd58a8..627b5d7b366 100644 --- a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/valid-integration.json +++ b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/valid-integration.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Service1": { "type": "service", diff --git a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/integration-index.json b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/integration-index.json index e2ce6c3f53e..5c800d9bd8f 100644 --- a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/integration-index.json +++ b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/integration-index.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Service": { "type": "service", diff --git a/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json b/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json index c0a1cc8e893..7d705f16eef 100644 --- a/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json +++ b/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.iam#actionPermissionDescription": { "type": "string", diff --git a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/invalid-condition-keys.smithy b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/invalid-condition-keys.smithy index 8f34066b46e..64e2ee3ac2a 100644 --- a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/invalid-condition-keys.smithy +++ b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/invalid-condition-keys.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example @aws.api#service(sdkId: "My") diff --git a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/required-actions.smithy b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/required-actions.smithy index ecc74c034e8..c278eabfb05 100644 --- a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/required-actions.smithy +++ b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/required-actions.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example @aws.iam#requiredActions(["iam:PassRole", "ec2:RunInstances"]) diff --git a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/successful-condition-keys.smithy b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/successful-condition-keys.smithy index 2873a6b654a..d29fc6702f0 100644 --- a/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/successful-condition-keys.smithy +++ b/smithy-aws-iam-traits/src/test/resources/software/amazon/smithy/aws/iam/traits/successful-condition-keys.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example @aws.api#service(sdkId: "My") diff --git a/smithy-aws-protocol-tests/model/awsJson1_1/main.json b/smithy-aws-protocol-tests/model/awsJson1_1/main.json index 99f7afa490a..4145b860c63 100644 --- a/smithy-aws-protocol-tests/model/awsJson1_1/main.json +++ b/smithy-aws-protocol-tests/model/awsJson1_1/main.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.protocoltests.json#JsonProtocol": { "type": "service", diff --git a/smithy-aws-protocol-tests/model/awsQuery/empty-input-output.smithy b/smithy-aws-protocol-tests/model/awsQuery/empty-input-output.smithy index cf1311fa0bd..4cbc5a256b2 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/empty-input-output.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/empty-input-output.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test the basics of empty input and // output shape serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/input-lists.smithy b/smithy-aws-protocol-tests/model/awsQuery/input-lists.smithy index 62521310612..811a77c0c92 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/input-lists.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/input-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test list query serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/input-maps.smithy b/smithy-aws-protocol-tests/model/awsQuery/input-maps.smithy index 59ecfe4a4d4..79097050139 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/input-maps.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/input-maps.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test map query serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/input.smithy b/smithy-aws-protocol-tests/model/awsQuery/input.smithy index 10b6c3dee0d..37ee7e68381 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/input.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/input.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test the basics of input serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/main.smithy b/smithy-aws-protocol-tests/model/awsQuery/main.smithy index 6d98b8a77c5..b250af00f59 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/main.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/main.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/xml-errors.smithy b/smithy-aws-protocol-tests/model/awsQuery/xml-errors.smithy index c2c3c87ce01..59ff7e0656f 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/xml-errors.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/xml-errors.smithy @@ -23,7 +23,7 @@ // // See: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-responses.html#sqs-api-error-response-structure -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/xml-lists.smithy b/smithy-aws-protocol-tests/model/awsQuery/xml-lists.smithy index 628b901b785..a4a2fd440a4 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/xml-lists.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/xml-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize lists in XML documents. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/xml-maps.smithy b/smithy-aws-protocol-tests/model/awsQuery/xml-maps.smithy index 0be9d8edb61..def6d891f96 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/xml-maps.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/xml-maps.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize maps in XML payloads. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/awsQuery/xml-structs.smithy b/smithy-aws-protocol-tests/model/awsQuery/xml-structs.smithy index af1ca3d7507..c98abab9fc6 100644 --- a/smithy-aws-protocol-tests/model/awsQuery/xml-structs.smithy +++ b/smithy-aws-protocol-tests/model/awsQuery/xml-structs.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize XML output structures. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.query diff --git a/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy b/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy index de0b0ba5b08..1f8c27997b2 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test the basics of empty input and // output shape serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy b/smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy index 6c1fa397641..ada15934a74 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/input-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test list query serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/input.smithy b/smithy-aws-protocol-tests/model/ec2Query/input.smithy index c4bf80f5989..f449661b8d1 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/input.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/input.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test the basics of input serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/main.smithy b/smithy-aws-protocol-tests/model/ec2Query/main.smithy index 008c9b61dca..e86a45f4b9d 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/main.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/main.smithy @@ -24,7 +24,7 @@ // EC2 errors have an additional level of nesting. See xml-errors.smithy // for details. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy index 6817bb56ea2..ae67324b552 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy @@ -18,7 +18,7 @@ // // See: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html#api-error-response -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy index 29ca0e3006e..6a822d0a71b 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize lists in XML documents. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy index 90becb1136d..928279cc999 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize XML output structures. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.ec2 diff --git a/smithy-aws-protocol-tests/model/restJson1/empty-input-output.smithy b/smithy-aws-protocol-tests/model/restJson1/empty-input-output.smithy index 744fad2b843..c06520fa0c0 100644 --- a/smithy-aws-protocol-tests/model/restJson1/empty-input-output.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/empty-input-output.smithy @@ -3,7 +3,7 @@ // // TODO: does an operation with no input always send {}? What about no output? -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/endpoint-host-trait.smithy b/smithy-aws-protocol-tests/model/restJson1/endpoint-host-trait.smithy index b09614bbac7..08fcbf0da28 100644 --- a/smithy-aws-protocol-tests/model/restJson1/endpoint-host-trait.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/endpoint-host-trait.smithy @@ -1,7 +1,7 @@ // This file defines test cases that change the endpoint based on the endpoint trait. // See: https://awslabs.github.io/smithy/spec/core.html#endpoint-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/errors.smithy b/smithy-aws-protocol-tests/model/restJson1/errors.smithy index 5cdc547818d..e49d3d34c4b 100644 --- a/smithy-aws-protocol-tests/model/restJson1/errors.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/errors.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test error serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy index a58cc9d73b9..21e0f07606f 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP header bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httpheader-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy b/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy index 74ff419eca2..480ef6ba607 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP URI label bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httplabel-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/http-payload.smithy b/smithy-aws-protocol-tests/model/restJson1/http-payload.smithy index de9e1f3d8d0..2e6b57ccc54 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-payload.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-payload.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP payload bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httppayload-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/http-prefix-headers.smithy b/smithy-aws-protocol-tests/model/restJson1/http-prefix-headers.smithy index b5c617b6282..29302c7cbdf 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-prefix-headers.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-prefix-headers.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test httpPrefix headers. // See: https://awslabs.github.io/smithy/spec/http.html#httpprefixheaders-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/http-query.smithy b/smithy-aws-protocol-tests/model/restJson1/http-query.smithy index caefa41a38c..1d00f570c7f 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-query.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-query.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP query string bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httpquery-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/json-lists.smithy b/smithy-aws-protocol-tests/model/restJson1/json-lists.smithy index 0366110827b..dc33591e08e 100644 --- a/smithy-aws-protocol-tests/model/restJson1/json-lists.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/json-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize lists in JSON documents. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/json-maps.smithy b/smithy-aws-protocol-tests/model/restJson1/json-maps.smithy index 92be7a5e3ef..c23466840ba 100644 --- a/smithy-aws-protocol-tests/model/restJson1/json-maps.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/json-maps.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize maps in JSON payloads. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/json-structs.smithy b/smithy-aws-protocol-tests/model/restJson1/json-structs.smithy index 3fcee9e60b5..a11d5514518 100644 --- a/smithy-aws-protocol-tests/model/restJson1/json-structs.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/json-structs.smithy @@ -1,7 +1,7 @@ // This file defines test cases that serialize synthesized JSON documents // in the payload of HTTP requests and responses. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restJson1/main.smithy b/smithy-aws-protocol-tests/model/restJson1/main.smithy index d13c578e583..8ef2089c522 100644 --- a/smithy-aws-protocol-tests/model/restJson1/main.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/main.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restjson diff --git a/smithy-aws-protocol-tests/model/restXml/document-lists.smithy b/smithy-aws-protocol-tests/model/restXml/document-lists.smithy index e1c22e46a0a..2b1c9ed129b 100644 --- a/smithy-aws-protocol-tests/model/restXml/document-lists.smithy +++ b/smithy-aws-protocol-tests/model/restXml/document-lists.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize lists in XML documents. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/document-maps.smithy b/smithy-aws-protocol-tests/model/restXml/document-maps.smithy index 2caf8a56680..80569369a16 100644 --- a/smithy-aws-protocol-tests/model/restXml/document-maps.smithy +++ b/smithy-aws-protocol-tests/model/restXml/document-maps.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize maps in XML payloads. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/document-structs.smithy b/smithy-aws-protocol-tests/model/restXml/document-structs.smithy index 6ee21dc17d2..6bc31f43486 100644 --- a/smithy-aws-protocol-tests/model/restXml/document-structs.smithy +++ b/smithy-aws-protocol-tests/model/restXml/document-structs.smithy @@ -1,7 +1,7 @@ // This file defines test cases that serialize synthesized XML documents // in the payload of HTTP requests and responses. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/document-xml-attributes.smithy b/smithy-aws-protocol-tests/model/restXml/document-xml-attributes.smithy index b051e760d65..d31110b9efc 100644 --- a/smithy-aws-protocol-tests/model/restXml/document-xml-attributes.smithy +++ b/smithy-aws-protocol-tests/model/restXml/document-xml-attributes.smithy @@ -1,6 +1,6 @@ // This file defines test cases that serialize XML attributes. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/empty-input-output.smithy b/smithy-aws-protocol-tests/model/restXml/empty-input-output.smithy index 0b94f881de4..69f8b8c7e1b 100644 --- a/smithy-aws-protocol-tests/model/restXml/empty-input-output.smithy +++ b/smithy-aws-protocol-tests/model/restXml/empty-input-output.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test the basics of empty input and // output shape serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/endpoint-host-trait.smithy b/smithy-aws-protocol-tests/model/restXml/endpoint-host-trait.smithy index bfe3b8cb400..85ee91ee9db 100644 --- a/smithy-aws-protocol-tests/model/restXml/endpoint-host-trait.smithy +++ b/smithy-aws-protocol-tests/model/restXml/endpoint-host-trait.smithy @@ -1,7 +1,7 @@ // This file defines test cases that change the endpoint based on the endpoint trait. // See: https://awslabs.github.io/smithy/spec/core.html#endpoint-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/errors.smithy b/smithy-aws-protocol-tests/model/restXml/errors.smithy index a51427e856a..c4bb9198492 100644 --- a/smithy-aws-protocol-tests/model/restXml/errors.smithy +++ b/smithy-aws-protocol-tests/model/restXml/errors.smithy @@ -1,6 +1,6 @@ // This file defines test cases that test error serialization. -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy index bf8da51c557..96211c90b45 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP header bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httpheader-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/http-labels.smithy b/smithy-aws-protocol-tests/model/restXml/http-labels.smithy index e8f325c5c3d..8ef77c94654 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-labels.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-labels.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP URI label bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httplabel-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/http-payload.smithy b/smithy-aws-protocol-tests/model/restXml/http-payload.smithy index 6eceb4e1db4..35030574f86 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-payload.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-payload.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP payload bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httppayload-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/http-prefix-headers.smithy b/smithy-aws-protocol-tests/model/restXml/http-prefix-headers.smithy index 181cbcc11de..f95a9d69992 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-prefix-headers.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-prefix-headers.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test httpPrefix headers. // See: https://awslabs.github.io/smithy/spec/http.html#httpprefixheaders-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/http-query.smithy b/smithy-aws-protocol-tests/model/restXml/http-query.smithy index e1197343e30..2680fd16f95 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-query.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-query.smithy @@ -1,7 +1,7 @@ // This file defines test cases that test HTTP query string bindings. // See: https://awslabs.github.io/smithy/spec/http.html#httpquery-trait -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/restXml/main.smithy b/smithy-aws-protocol-tests/model/restXml/main.smithy index 330d9010dcf..58cc4ac0f4a 100644 --- a/smithy-aws-protocol-tests/model/restXml/main.smithy +++ b/smithy-aws-protocol-tests/model/restXml/main.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace aws.protocoltests.restxml diff --git a/smithy-aws-protocol-tests/model/shared-types.smithy b/smithy-aws-protocol-tests/model/shared-types.smithy index 360f1b445ee..255bbf88cf7 100644 --- a/smithy-aws-protocol-tests/model/shared-types.smithy +++ b/smithy-aws-protocol-tests/model/shared-types.smithy @@ -5,7 +5,7 @@ // structures or other test-case specific shapes should be defined closer to // the test case and in its same file. -$version: "0.5.0" +$version: "1.0.0" metadata suppressions = [{ ids: ["DeprecatedTrait"], diff --git a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.api.json b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.api.json index 8493f66b4a2..f53aa2bed5e 100644 --- a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.api.json +++ b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.api.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.api#arn": { "type": "structure", diff --git a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.auth.json b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.auth.json index 269e4be352e..61a2927162c 100644 --- a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.auth.json +++ b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.auth.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.auth#sigv4": { "type": "structure", diff --git a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.protocols.json b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.protocols.json index a5908aabd98..7ca0b653a54 100644 --- a/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.protocols.json +++ b/smithy-aws-traits/src/main/resources/META-INF/smithy/aws.protocols.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "aws.protocols#restJson1": { "type": "structure", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/auth/unsigned-request-payload.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/auth/unsigned-request-payload.json index 1d353cc7f80..23b2049ddd0 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/auth/unsigned-request-payload.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/auth/unsigned-request-payload.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Unsigned1": { "type": "operation", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/endpoint-operation-unbound.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/endpoint-operation-unbound.json index 148fed12b1c..bb27a338ff9 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/endpoint-operation-unbound.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/endpoint-operation-unbound.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/multiple-configured-services.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/multiple-configured-services.json index 46cbd29bdc4..c8f173f05f6 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/multiple-configured-services.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/multiple-configured-services.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-configured-operations.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-configured-operations.json index f8b12907d6e..a7c3419274f 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-configured-operations.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-configured-operations.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-operation-discovery.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-operation-discovery.json index c4be9db7b96..0d7f48e8d39 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-operation-discovery.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/no-operation-discovery.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/service-not-configured.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/service-not-configured.json index 6c383819c6f..2e39a4af56d 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/service-not-configured.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/service-not-configured.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/test-model.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/test-model.json index 3cf4f9495cd..98635a4e82e 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/test-model.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/clientendpointdiscovery/test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/data-classification-model.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/data-classification-model.json index 8d514e33ead..80cbfdc6054 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/data-classification-model.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/data-classification-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "string", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/effective-arns.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/effective-arns.json index 61c59677f3f..3b9d8be361f 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/effective-arns.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/effective-arns.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoint-shape-not-structure.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoint-shape-not-structure.json index 5cfb6767891..52e90875023 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoint-shape-not-structure.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoint-shape-not-structure.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoints-not-list.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoints-not-list.json index 0cceeff1228..65cb1c835d2 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoints-not-list.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/endpoints-not-list.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-endpoint-structure.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-endpoint-structure.json index d52f3e6969e..c80172097ab 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-endpoint-structure.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-endpoint-structure.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-input-shape.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-input-shape.json index 648bc50d5fa..9166e628212 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-input-shape.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/invalid-input-shape.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-endpoints-member.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-endpoints-member.json index 3d64e7756f9..4b5c17d5bb8 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-endpoints-member.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-endpoints-member.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-input.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-input.json index 2d45e8f8473..4cae4c04f00 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-input.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-input.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-output.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-output.json index d511a4efc13..58458d5ed7d 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-output.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/clientendpointdiscovery/no-output.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/ec2-query-name.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/ec2-query-name.json index 05b4b73dbdb..2e646c95bf9 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/ec2-query-name.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/ec2-query-name.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.example#Input": { "type": "structure", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/sdk-id.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/sdk-id.json index 3209623e390..f616a6bf4d4 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/sdk-id.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/errorfiles/sdk-id.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ApiGatewayManagementApi": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/infinite-recursive-model.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/infinite-recursive-model.json index 74dbe11bda0..656fbc9fe2e 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/infinite-recursive-model.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/infinite-recursive-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/invalid-arn-template-string.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/invalid-arn-template-string.json index ba46d3adbb7..491d1c82063 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/invalid-arn-template-string.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/invalid-arn-template-string.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/not-enough-identifiers.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/not-enough-identifiers.json index 3838bdd9863..bb68a78a27c 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/not-enough-identifiers.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/not-enough-identifiers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/planes.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/planes.json index 273d6bcf8e4..c724f7d1617 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/planes.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/planes.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/test-model.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/test-model.json index 67925c894b1..b3dd2f7a35a 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/test-model.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#NonAwsService": { "type": "service", diff --git a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/too-many-identifiers.json b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/too-many-identifiers.json index 22a205a26a3..41c4accf568 100644 --- a/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/too-many-identifiers.json +++ b/smithy-aws-traits/src/test/resources/software/amazon/smithy/aws/traits/too-many-identifiers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#SomeService": { "type": "service", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/a.json b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/a.json index 36decb6495e..3d1531e8f9d 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/a.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/a.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#String": { "type": "apply", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/b.json b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/b.json index 331dd2ef97f..d77b282747b 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/b.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/b.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#String": { "type": "apply", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/c.json b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/c.json index 02bebdc5f59..d412974d0d3 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/c.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/c.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#String": { "type": "apply", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/main.json b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/main.json index e6aa479cbed..3072f88ca76 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/imports/main.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/imports/main.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#String": { "type": "string" diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/c/c.json b/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/c/c.json index b30a5289535..42d045168ef 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/c/c.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/c/c.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#CString": { "type": "string" diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/jar-import.jar b/smithy-build/src/test/resources/software/amazon/smithy/build/plugins/sources/jar-import.jar index 94521fb4ccfd34d05c96eee80ffc3e27b011d122..203165dbb5ce2e5f229bc6f20f142183ca8f2da1 100644 GIT binary patch literal 1392 zcmWIWW@Zs#;Nak3u=Q#VU_b(#3@i-3t|5-Po_=on|4uP5Ff#;rvvYt{FhP|C;M6Pv zQ~}rQ>*(j{<{BKL=j-;__snS@Z(Y5MyxzK6=gyqp9At3C_`%a6JuhD!Pv48Bt5~=g zT)&(VF_9@2Uj6Cwmr0+CMQuJ$`f5_SvtlRM{pNoM3=%$;^O(>2R zK(@a)H?t(8QXk=3>)HGLfC}J10?2~97OFZoF)uSMwYbFliuSp)Iww~=@w(*iWH9;b z=a5mxfva@$D%z-wFX`(cPbfhq|4Lz1pG4SEOkhW;KWa9{ zbd(ud`awwo&_GSnPeyVUx(@8lO4d)-%PP*#Tm3AEfobWZJ7*^Kc&Tc$syf>;+cK-l zt|)Lza?COe*dcX>y?g1?=dV>&!!)fIb2KmY(&7$sOcR+dlKO0^_CeL`oeC+s;$RQ( z%Bw$i2ZljDI8+&#L>N%B04#ljvH&W8hcYNb1bCxrMNXO^-y?u6kO|j{lpR1Oa53Oc z!Uz-gBAWnD&yaqDi_M;_mWM6>NE^?AXHN}Gw(-c@rM)nD|ph`w&5Dx&VfhjBi literal 1396 zcmWIWW@h1H00Fn6Pkvwql;C6#VDNPfan$wnbJGuv;9(Ht)r}K=WDqO$l7S%ruFW4! zn*g%5;@r%Vj7qp}RV3Xa3>-jcJ$pZjr4m?l=O*T5rll5_fZV_Ubc4~Ok1-%Ocwf;z zcUI@*iYH!|{GALYf1UhwQ`hIuK&P>DZ2YzSj5yFAazG4nD#Wrsvj|(3s0VQ~%(C4N zA(ox?KI5ya=i%cQ>T&w~b#JdVj~;31X`VXc9bUi!wsP*~u2r%?>!hJpLIM>%bcC?@ zF9}chFr$T!6juF7XpTNg*wIX2N2@<-HpX;x=RC^*pfBJ+1goXVaA$ww(T#&83P?z! zn}FTf$@I~7uN#lap_x|V<49q5sKAP(?m zWD;e@mDqu43j!S8I)WHTNuL9r^pTA~k6Hl+WFyRxjeutZh)JMq05J)X36N8)1d>Th z8cVU5gvb&c@GOCBA}FOJCrDHiA7L>Ok?tWTg3>)c-wGkQ@vUPhBT|4teG5v~*!>Gi z)W|7M3dyV`jZ?9jg-GHM_kof)vis0eoCuPcZymXqu(=PEf*~#hr99;D1DS@LbWmOB dgTpjfYKFKFVkRpaFtEWzT`^GCYanJ|003r6K^p)7 diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/resource-model.json b/smithy-build/src/test/resources/software/amazon/smithy/build/resource-model.json index f103cbccfb8..80fe378b16c 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/resource-model.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/resource-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/simple-model.json b/smithy-build/src/test/resources/software/amazon/smithy/build/simple-model.json index 99d0ae3d87e..297211d0d43 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/simple-model.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/simple-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String1": { "type": "string", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaker.json b/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaker.json index c07fc17887c..9898add5413 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaker.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaker.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaking-traits.json b/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaking-traits.json index 10476776dbf..d0ec384235c 100644 --- a/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaking-traits.json +++ b/smithy-build/src/test/resources/software/amazon/smithy/build/transforms/tree-shaking-traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#bar": { "type": "structure", diff --git a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/multiple-closures.json b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/multiple-closures.json index 37fd658e4d5..54cca1966f7 100644 --- a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/multiple-closures.json +++ b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/multiple-closures.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#StructureA": { "type": "structure", diff --git a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/recursive.json b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/recursive.json index e139f77c933..4f3b83d7152 100644 --- a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/recursive.json +++ b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/recursive.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.rest#Foo": { "type": "structure", diff --git a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/test-service.json b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/test-service.json index cd504b2d611..a57aecb8fa7 100644 --- a/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/test-service.json +++ b/smithy-jsonschema/src/test/resources/software/amazon/smithy/jsonschema/test-service.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.rest#RestService": { "type": "service", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/abbreviation-name-validator-test.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/abbreviation-name-validator-test.json index 21e9e9354ef..c84e9f6c175 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/abbreviation-name-validator-test.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/abbreviation-name-validator-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#FooId": { "type": "string" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/camel-case-validator-defaults-test.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/camel-case-validator-defaults-test.json index 17d9a9b3bd2..2044c2f3dfd 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/camel-case-validator-defaults-test.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/camel-case-validator-defaults-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#InvalidTrait": { "type": "string", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/contains-reserved-words-validator.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/contains-reserved-words-validator.json index 94921507236..765e0d4fd3d 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/contains-reserved-words-validator.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/contains-reserved-words-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#_foo": { "type": "structure", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-each-selector-validator.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-each-selector-validator.json index 138550476b8..ea48bdb429d 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-each-selector-validator.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-each-selector-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-none-selector-validator.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-none-selector-validator.json index 07077766e5c..b4e0a685ba7 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-none-selector-validator.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/emit-none-selector-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/input-output-structure-reuse.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/input-output-structure-reuse.json index efd31f5a336..63eb91d32d5 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/input-output-structure-reuse.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/input-output-structure-reuse.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-documentation-selector-test.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-documentation-selector-test.json index d59f4093543..3a716937c61 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-documentation-selector-test.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-documentation-selector-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-paginated-trait-validator.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-paginated-trait-validator.json index deeda00ab51..d58d02a3d66 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-paginated-trait-validator.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/missing-paginated-trait-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp-ignore.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp-ignore.json index bbf595c7c54..235ed0fed93 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp-ignore.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp-ignore.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#Consolidate": { "type": "string" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp.json index 63d2b985c11..4e35bbbdd20 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/should-have-used-timestamp.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#WrongType": { "type": "string" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/standard-operation-verb-validator-test.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/standard-operation-verb-validator-test.json index 91d0a6d8d05..5ec624d18bd 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/standard-operation-verb-validator-test.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/standard-operation-verb-validator-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#CreateFoo": { "type": "operation" diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/stuttered-shape-name.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/stuttered-shape-name.json index e9a42be0286..1c7f59f96eb 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/stuttered-shape-name.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/stuttered-shape-name.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid": { "type": "structure", diff --git a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/validator-loading-test.json b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/validator-loading-test.json index f96f7682887..09253a657cb 100644 --- a/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/validator-loading-test.json +++ b/smithy-linters/src/test/resources/software/amazon/smithy/linters/errorfiles/validator-loading-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#OrphanShape": { "type": "string" diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/Model.java b/smithy-model/src/main/java/software/amazon/smithy/model/Model.java index 146f3a9490a..bac3ec16014 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/Model.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/Model.java @@ -58,7 +58,7 @@ */ public final class Model implements ToSmithyBuilder { /** Specifies the highest supported version of the IDL. */ - public static final String MODEL_VERSION = "0.5.0"; + public static final String MODEL_VERSION = "1.0.0"; private final Map metadata; diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/loader/AstModelLoader.java b/smithy-model/src/main/java/software/amazon/smithy/model/loader/AstModelLoader.java index 14d8790fe7c..365696172e2 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/loader/AstModelLoader.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/loader/AstModelLoader.java @@ -56,7 +56,7 @@ /** * A singleton that loads Smithy models from the JSON AST format, - * version 0.5.0. + * version 1.0.0. */ enum AstModelLoader { diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelLoader.java b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelLoader.java index caa9afbb8e7..d5f2382cbec 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelLoader.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelLoader.java @@ -73,12 +73,13 @@ static boolean load(String filename, Supplier contentSupplier, Load // is then used to delegate loading to different versions of the // Smithy JSON AST format. // - // This loader supports version 0.5.0. 0.4.0 support was removed in 0.10. + // This loader supports version 1.0.0. Support for 0.5.0 and 0.4.0 was + // removed in 0.10. static boolean loadParsedNode(Node node, LoaderVisitor visitor) { ObjectNode model = node.expectObjectNode("Smithy documents must be an object. Found {type}."); StringNode version = model.expectStringMember(SMITHY); - if (version.getValue().equals(SmithyVersion.VERSION_0_5_0.value)) { + if (version.getValue().equals(SmithyVersion.VERSION_1_0_0.value)) { AstModelLoader.INSTANCE.load(model, visitor); return true; } else { diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/loader/SmithyVersion.java b/smithy-model/src/main/java/software/amazon/smithy/model/loader/SmithyVersion.java index 0443122b6d2..82e6b21bafd 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/loader/SmithyVersion.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/loader/SmithyVersion.java @@ -17,7 +17,7 @@ enum SmithyVersion { - VERSION_0_5_0("0.5.0"); + VERSION_1_0_0("1.0.0"); public final String value; diff --git a/smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude-traits.smithy b/smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude-traits.smithy index 471e5da9a85..352bc50a227 100644 --- a/smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude-traits.smithy +++ b/smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.api diff --git a/smithy-model/src/test/java/software/amazon/smithy/model/loader/ModelAssemblerTest.java b/smithy-model/src/test/java/software/amazon/smithy/model/loader/ModelAssemblerTest.java index 73d5f95cd8b..9c80105fccd 100644 --- a/smithy-model/src/test/java/software/amazon/smithy/model/loader/ModelAssemblerTest.java +++ b/smithy-model/src/test/java/software/amazon/smithy/model/loader/ModelAssemblerTest.java @@ -100,9 +100,9 @@ public void addsExplicitShapes() { } @Test - public void addsExplicitDocumentNode_0_5_0() { + public void addsExplicitDocumentNode_1_0_0() { ObjectNode node = Node.objectNode() - .withMember("smithy", "0.5.0") + .withMember("smithy", "1.0.0") .withMember("shapes", Node.objectNode() .withMember("ns.foo#String", Node.objectNode() .withMember("type", Node.from("string")))); diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/map-allows-no-additional-properties.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/map-allows-no-additional-properties.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/map-allows-no-additional-properties.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/map-allows-no-additional-properties.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/map-allows-no-additional-properties.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/map-allows-no-additional-properties.json similarity index 92% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/map-allows-no-additional-properties.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/map-allows-no-additional-properties.json index a80601d3529..c41d6d1bb9d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/map-allows-no-additional-properties.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/map-allows-no-additional-properties.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Hi": { "type": "map", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/members-allow-no-additional-properties.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/members-allow-no-additional-properties.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/members-allow-no-additional-properties.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/members-allow-no-additional-properties.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/members-allow-no-additional-properties.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/members-allow-no-additional-properties.json similarity index 90% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/members-allow-no-additional-properties.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/members-allow-no-additional-properties.json index e56528935b4..5699f6d0a6b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/members-allow-no-additional-properties.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/members-allow-no-additional-properties.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Hi": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/metadata-must-be-object.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/metadata-must-be-object.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/metadata-must-be-object.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/metadata-must-be-object.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/metadata-must-be-object.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/metadata-must-be-object.json similarity index 53% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/metadata-must-be-object.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/metadata-must-be-object.json index 0f7d07cdf8f..1cb6556a286 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/metadata-must-be-object.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/metadata-must-be-object.json @@ -1,4 +1,4 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": "foo" } diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-errors.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-errors.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-errors.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-errors.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-errors.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-errors.json similarity index 93% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-errors.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-errors.json index b58189e9773..d81fa6f3749 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-errors.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-errors.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Operation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-input.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-input.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-input.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-input.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-input.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-input.json similarity index 90% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-input.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-input.json index f643efdff32..86665398742 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-input.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-input.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Operation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-output.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-output.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-output.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-output.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-output.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-output.json similarity index 90% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-output.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-output.json index d98c6632b7d..6fd9ad38609 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/operation-requires-reference-object-output.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/operation-requires-reference-object-output.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Operation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/rejects-invalid-top-level-properties.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/rejects-invalid-top-level-properties.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/rejects-invalid-top-level-properties.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/rejects-invalid-top-level-properties.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/rejects-invalid-top-level-properties.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/rejects-invalid-top-level-properties.json similarity index 72% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/rejects-invalid-top-level-properties.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/rejects-invalid-top-level-properties.json index 0d316e44e38..6d476b2b3cd 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/rejects-invalid-top-level-properties.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/rejects-invalid-top-level-properties.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "nope": "foo", "dope": "baz", "rope": "bar" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shape-defs-must-not-have-members.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shape-defs-must-not-have-members.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shape-defs-must-not-have-members.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shape-defs-must-not-have-members.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shape-defs-must-not-have-members.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shape-defs-must-not-have-members.json similarity index 80% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shape-defs-must-not-have-members.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shape-defs-must-not-have-members.json index 2b88e6e3164..183704dad02 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shape-defs-must-not-have-members.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shape-defs-must-not-have-members.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Baz$bar": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-allow-no-additional-properties.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-allow-no-additional-properties.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-allow-no-additional-properties.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-allow-no-additional-properties.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-allow-no-additional-properties.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-allow-no-additional-properties.json similarity index 84% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-allow-no-additional-properties.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-allow-no-additional-properties.json index b987d9b45b6..12d180191a6 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-allow-no-additional-properties.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-allow-no-additional-properties.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Hi": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-be-object.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-be-object.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-be-object.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-be-object.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-be-object.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-be-object.json similarity index 51% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-be-object.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-be-object.json index 41fdc609bf5..ca4b3531637 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-be-object.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-be-object.json @@ -1,4 +1,4 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": "foo" } diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-contain-shape-id-keys.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-contain-shape-id-keys.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-contain-shape-id-keys.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-contain-shape-id-keys.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-contain-shape-id-keys.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-contain-shape-id-keys.json similarity index 77% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-contain-shape-id-keys.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-contain-shape-id-keys.json index 6ceec560c8d..b719498bbcf 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/shapes-must-contain-shape-id-keys.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/shapes-must-contain-shape-id-keys.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "Hi": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/structure-allows-no-additional-properties.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/structure-allows-no-additional-properties.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/structure-allows-no-additional-properties.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/structure-allows-no-additional-properties.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/structure-allows-no-additional-properties.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/structure-allows-no-additional-properties.json similarity index 84% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/structure-allows-no-additional-properties.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/structure-allows-no-additional-properties.json index 39bc77b49f1..a86077d995b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/structure-allows-no-additional-properties.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/structure-allows-no-additional-properties.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Hi": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-applied-to-non-existent-shape.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-applied-to-non-existent-shape.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-applied-to-non-existent-shape.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-applied-to-non-existent-shape.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-applied-to-non-existent-shape.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-applied-to-non-existent-shape.json similarity index 90% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-applied-to-non-existent-shape.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-applied-to-non-existent-shape.json index 882f72ea6ef..5c128e228d0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-applied-to-non-existent-shape.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-applied-to-non-existent-shape.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Baz$bar": { "type": "apply", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-duplicates.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-duplicates.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-duplicates.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-duplicates.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-duplicates.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-duplicates.json similarity index 97% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-duplicates.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-duplicates.json index d0da5836e33..af0ca63b66c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/trait-duplicates.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/trait-duplicates.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidStruct": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/traits-must-be-absolute-ids.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/traits-must-be-absolute-ids.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/traits-must-be-absolute-ids.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/traits-must-be-absolute-ids.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/traits-must-be-absolute-ids.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/traits-must-be-absolute-ids.json similarity index 89% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/traits-must-be-absolute-ids.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/traits-must-be-absolute-ids.json index c4598d4beb5..ca8e56c6dbd 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/traits-must-be-absolute-ids.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/traits-must-be-absolute-ids.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Hi": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/validators-and-suppressions-must-be-arrays.errors b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/validators-and-suppressions-must-be-arrays.errors similarity index 100% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/validators-and-suppressions-must-be-arrays.errors rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/validators-and-suppressions-must-be-arrays.errors diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/validators-and-suppressions-must-be-arrays.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/validators-and-suppressions-must-be-arrays.json similarity index 81% rename from smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/validators-and-suppressions-must-be-arrays.json rename to smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/validators-and-suppressions-must-be-arrays.json index e9cd2443568..11144e0447b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_0_5_0/validators-and-suppressions-must-be-arrays.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/loader/version_1_0_0/validators-and-suppressions-must-be-arrays.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "validators": { }, diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-auth-definitions.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-auth-definitions.json index 24836931c49..e35ef75f31d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-auth-definitions.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-auth-definitions.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid1": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-service-schemes.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-service-schemes.json index e8ea2fcd285..4193e2f417b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-service-schemes.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/auth-trait-must-target-service-schemes.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Service": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/custom-trait-validation.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/custom-trait-validation.json index f020c51936c..e436603332a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/custom-trait-validation.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/custom-trait-validation.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait-validator.json index 24574d29736..a914e2c1566 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyString": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait.json index af782030a0c..90ae68cc205 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/deprecated-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/enum-trait-validation.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/enum-trait-validation.json index d62b3d35419..277b2bb167f 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/enum-trait-validation.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/enum-trait-validation.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/error-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/error-trait.json index 8f6afb81b4a..bb679d24db4 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/error-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/error-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidClient": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-payload-validation.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-payload-validation.json index 468cc0b6fe4..d4a07b2f2fa 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-payload-validation.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-payload-validation.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidEvent": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-stream-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-stream-validator.json index 4ff3146bb41..cb3fcf2f503 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-stream-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/event-stream-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidSingleEventInputOperation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/examples-trait-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/examples-trait-validator.json index 44315839de2..56aadaf3d84 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/examples-trait-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/examples-trait-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Operation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/exclusive-structure-member-traits-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/exclusive-structure-member-traits-validator.json index 81e4ac7bd86..f752d6f8c93 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/exclusive-structure-member-traits-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/exclusive-structure-member-traits-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Invalid1": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/external-documentation.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/external-documentation.json index 98aad66772f..8824f84d3ec 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/external-documentation.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/external-documentation.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/finds-conflicting-traits.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/finds-conflicting-traits.json index 3b58e036d54..468f6226c0f 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/finds-conflicting-traits.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/finds-conflicting-traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/host-request-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/host-request-validator.json index 79cb1adc740..c411e45591b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/host-request-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/host-request-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-bindings-missing-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-bindings-missing-validator.json index 02b8805cb74..86a682fdc2c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-bindings-missing-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-bindings-missing-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-method-semantics-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-method-semantics-validator.json index 6c089f43c2c..6e088fb8a4d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-method-semantics-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-method-semantics-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-request-response-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-request-response-validator.json index b598ebc84cd..627c7eef6cd 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-request-response-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-request-response-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-response-code-semantics-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-response-code-semantics-validator.json index c107ac03b7b..1c5755cbf7a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-response-code-semantics-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-response-code-semantics-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-uri-conflict-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-uri-conflict-validator.json index 852d539381b..acfde63cc83 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-uri-conflict-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/http-uri-conflict-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/idref-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/idref-trait.json index f44459d044e..0b1bb6aa648 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/idref-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/idref-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Invalid1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/input-output-must-not-have-error-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/input-output-must-not-have-error-trait.json index 9613f79b631..331d758f0d9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/input-output-must-not-have-error-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/input-output-must-not-have-error-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyOperation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/json-name.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/json-name.json index a37af539cf4..6161918d68c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/json-name.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/json-name.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/length-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/length-trait.json index 120843a14f9..b850d5bb77b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/length-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/length-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid1": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/valid-implicit-lifecycles.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/valid-implicit-lifecycles.json index 48feeb4e0df..d22e6df4898 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/valid-implicit-lifecycles.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/valid-implicit-lifecycles.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidA": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-idempotent-lifecycles.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-idempotent-lifecycles.json index 307a0777b49..d1dd70778b0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-idempotent-lifecycles.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-idempotent-lifecycles.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Resource": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-instance-and-collection-operations.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-instance-and-collection-operations.json index 2ba6f68f23f..bbe5713cdd1 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-instance-and-collection-operations.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-instance-and-collection-operations.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ResourceA": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-readonly-lifecycles.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-readonly-lifecycles.json index d2099e1836b..552bd5c2574 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-readonly-lifecycles.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/lifecycle/validates-readonly-lifecycles.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Resource": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/no-replace-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/no-replace-trait.json index a218ea2739b..27bc16eef38 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/no-replace-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/no-replace-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Service": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/paginated-trait-test.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/paginated-trait-test.json index 76528370b3e..7a8221f5ad3 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/paginated-trait-test.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/paginated-trait-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Service": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/private-access.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/private-access.json index 1b3f81b38e5..e5a5bf368aa 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/private-access.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/private-access.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#InvalidService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/range-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/range-trait.json index 56c50cd52b6..23b8523ca58 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/range-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/range-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Structure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/bad-ids.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/bad-ids.json index ef0acbbcefb..2b18e3178c0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/bad-ids.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/bad-ids.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyStructure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-reference-multiple-identifiers.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-reference-multiple-identifiers.json index 72144598373..31704a6127c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-reference-multiple-identifiers.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-reference-multiple-identifiers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyString": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-shape-reference-with-ids.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-shape-reference-with-ids.json index 19465acded7..d9c187c6ee1 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-shape-reference-with-ids.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/invalid-string-shape-reference-with-ids.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyString": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/missing-identifier-reference.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/missing-identifier-reference.json index bbeb71cb115..5568c9309ae 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/missing-identifier-reference.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/missing-identifier-reference.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyStructure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-id-member-not-found.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-id-member-not-found.json index 4d9696308d1..2b17e7869de 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-id-member-not-found.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-id-member-not-found.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyStructure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-must-target-resource.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-must-target-resource.json index 9df938f7099..e05a7f2247b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-must-target-resource.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/reference-must-target-resource.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyStructure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/valid-implicit-references.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/valid-implicit-references.json index a95b0c10b8c..8ea61155aea 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/valid-implicit-references.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/references/valid-implicit-references.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyStructure": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/request-token.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/request-token.json index 2db285c47c4..db54fec6a03 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/request-token.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/request-token.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-identifier.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-identifier.json index b8202aedb1a..59f4eda7289 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-identifier.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-identifier.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Invalid1": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-must-bind-parent-identifiers.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-must-bind-parent-identifiers.json index 340ab250d53..a7891013bba 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-must-bind-parent-identifiers.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-must-bind-parent-identifiers.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-operation-binding-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-operation-binding-validator.json index 86bd0221324..858a12fec27 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-operation-binding-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-operation-binding-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-parent-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-parent-validator.json index 1124e696ba5..a359dfd5ca3 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-parent-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/resource-parent-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/sensitive-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/sensitive-trait.json index 8a8dad7da34..fe098b77809 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/sensitive-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/sensitive-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Operation": { "type": "operation", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/service-conflict-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/service-conflict-validator.json index b9c6c6c2393..e849b7e62e9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/service-conflict-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/service-conflict-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/shape-recursion.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/shape-recursion.json index 7372811c53a..57637b5199f 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/shape-recursion.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/shape-recursion.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#InvalidDirectlyRecursiveList": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-operation-binding.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-operation-binding.json index 9c587a6530a..cab65c78f0f 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-operation-binding.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-operation-binding.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-resource-binding.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-resource-binding.json index 1c7e3d1c4a2..138c1e0c1e4 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-resource-binding.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/single-resource-binding.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/streaming-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/streaming-trait.json index 3e376d125fd..2519abb57b0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/streaming-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/streaming-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Blob": { "type": "blob" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/target-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/target-validator.json index 60cbf382e26..5a54e1f7ed1 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/target-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/target-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidList": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/timestampFormat-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/timestampFormat-trait.json index 194db7a646e..a229573880c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/timestampFormat-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/timestampFormat-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Valid1": { "type": "timestamp", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/trait-target.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/trait-target.json index 82dfbac8bd5..b66900002d2 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/trait-target.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/trait-target.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-structure-member.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-structure-member.json index 3b55039a24e..6d4f24e5039 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-structure-member.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-structure-member.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-taggedunion-member.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-taggedunion-member.json index bf57f25389a..12d8d1cd01a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-taggedunion-member.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unique-taggedunion-member.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#A": { "type": "union", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unreferenced-shape-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unreferenced-shape-validator.json index 132e3e2763c..e56183939d9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unreferenced-shape-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unreferenced-shape-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unstable-trait-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unstable-trait-validator.json index 5bfdb2c5a22..78e2e3c8a62 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unstable-trait-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/unstable-trait-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyString": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-flattened.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-flattened.json index e36a06e0c2e..fdc1e8d9e13 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-flattened.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-flattened.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#StringList": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-name.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-name.json index 11afe1ce545..74097427e0d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-name.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-name.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidName1": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-namespace.json b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-namespace.json index d0daedd401c..f1d96234828 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-namespace.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/errorfiles/validators/xml-namespace.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#ValidNamespace1": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/event-stream-index.json b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/event-stream-index.json index 633b8513f12..4fa7426a963 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/event-stream-index.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/event-stream-index.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.smithy#EmptyOperation": { "type": "operation" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/http-index.json b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/http-index.json index f17192c3466..dcb9fd4a094 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/http-index.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/http-index.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/operation-index-test.json b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/operation-index-test.json index 1f78ed6ad3e..5e4a09cac96 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/operation-index-test.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/knowledge/operation-index-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/errors.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/errors.json index 06c7177f8b6..4968e41691b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/errors.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/errors.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#Invalid1": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/first-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/first-namespace.smithy index 1cbea35e3cd..5a124249f04 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/first-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/first-namespace.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example1 diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-shape-types.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-shape-types.json index 228740388ea..b5e13ec7dcc 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-shape-types.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-shape-types.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#Invalid": { "type": "foobaz" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-validation-selector.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-validation-selector.json index 9c9f9da34df..7c25e27d077 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-validation-selector.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid-validation-selector.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "validators": [ { diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-statement-before-others.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-statement-before-others.smithy index 83dfa1d8d70..56f6668ded7 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-statement-before-others.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-statement-before-others.smithy @@ -1,4 +1,4 @@ // A control statement must come before any namespace, metadata, or shape namespace foo.baz -$version: "0.5.0" +$version: "1.0.0" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-version-defined-twice.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-version-defined-twice.smithy index c7166446b0c..ad212fca61b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-version-defined-twice.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-version-defined-twice.smithy @@ -1,4 +1,4 @@ -// Parse error at line 3, column 11 near `0.5.0`: Cannot define multiple versions in the same file -$version: "0.5.0" -$version: "0.5.0" +// Parse error at line 3, column 11 near `1.0.0`: Cannot define multiple versions in the same file +$version: "1.0.0" +$version: "1.0.0" namespace com.baz diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-invalid-key.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-invalid-key.smithy index 992287cae7d..fd706f16dfa 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-invalid-key.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-invalid-key.smithy @@ -1,4 +1,4 @@ // Parse error at line 4, column 1 near `$`: Expected [A-Za-z_] | Model namespace foo.baz -$!foo: "0.5.0" +$!foo: "1.0.0" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-no-colon.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-no-colon.smithy index 60fae056654..88e8b0903ad 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-no-colon.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/control-with-no-colon.smithy @@ -1,4 +1,4 @@ // Parse error at line 4, column 1 near `$version `: Expected one of the following characters: [:] namespace foo.baz -$version "0.5.0" +$version "1.0.0" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/metadata-must-come-before-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/metadata-must-come-before-namespace.smithy index ba8a55776a8..de3dbbef90b 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/metadata-must-come-before-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/metadata-must-come-before-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 5, column 1 near `metadata`: Metadata statements must appear before a namespace statement -$version: "0.5.0" +$version: "1.0.0" namespace com.foo metadata foo = "hello" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/namespace-defined-twice.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/namespace-defined-twice.smithy index b472685a27f..74acb006e59 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/namespace-defined-twice.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/namespace-defined-twice.smithy @@ -1,4 +1,4 @@ // Parse error at line 4, column 1 near `namespace`: Only a single namespace can be declared per/file. The previous namespace was set to `com.foo`. -$version: "0.5.0" +$version: "1.0.0" namespace com.foo namespace com.baz diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/conflicting-use.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/conflicting-use.smithy index a63fb0bfc30..759a679c1d0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/conflicting-use.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/conflicting-use.smithy @@ -1,5 +1,5 @@ // Cannot use name `foo.baz#String` because it conflicts with `smithy.api#String` -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-empty-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-empty-namespace.smithy index 7300af91ead..82d77caf0e3 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-empty-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-empty-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 5 near `#`: Unexpected syntax -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-invalid-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-invalid-namespace.smithy index 3220ff7bdbe..bd6b5873a79 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-invalid-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-invalid-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 5 near `_$#Bar`: Invalid shape ID: _$#Bar -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-after-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-after-namespace.smithy index cd438fad3a3..1a70c747a94 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-after-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-after-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 5 near `invalid#`: Invalid shape ID: invalid# -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-namespace.smithy index 83f824ffc30..453c85f4e55 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-missing-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 5 near `smithy.api`: Invalid shape ID: smithy.api -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-must-come-after-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-must-come-after-namespace.smithy index 365d70346e0..78f146a221a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-must-come-after-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-must-come-after-namespace.smithy @@ -1,5 +1,5 @@ // Parse error at line 4, column 1 near `use`: Use statements must appear after a namespace is defined -$version: "0.5.0" +$version: "1.0.0" use smithy.example#Foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-requires-newline.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-requires-newline.smithy index 411aef9feaa..38902144f2a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-requires-newline.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-requires-newline.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 24 near `use`: Expected a new line before this token -$version: "0.5.0" +$version: "1.0.0" namespace foo.baz diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-statement-invalid-id.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-statement-invalid-id.smithy index dfbb6253bf6..27ba3fb1cc4 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-statement-invalid-id.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/invalid/use/use-statement-invalid-id.smithy @@ -1,5 +1,5 @@ // Parse error at line 6, column 5 near `smithy.api#`: Invalid shape ID: smithy.api# -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/jar-import.jar b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/jar-import.jar index 883b598814ef3beedbddfe7d9ff0c2195f1e6dba..7546cafa27beef10f78886aae3eac10a38c4c764 100644 GIT binary patch literal 1392 zcmWIWW@Zs#;Nak3$n*(j{<{BKL=j-;__snS@Z(Y5MyxzK6=gyqp9At3C_`%a6JuhD!Pv48Bt5~=g zT)&(VF_9@2Uj6Cwmr0+CMQuJ$`f5_SvtlRM{pNoM3=%y=eO(>2R zK(@a)H?t(8QXk=3>)HGLfC}J10?2~97OFZoF)uSMwYbFliuSp)Iww~=@w(*iWH9;b z=a5mxfva@$Gdq-wFX`(cPbfhq|4Lz1pG4SEOkhW;KWa9{ zbW{pj`awwo&_GSnPeyVUx(@8lO4d)-%PP*#Tm3AEfobWZJ7*^Kc&Tc$syf>;+cK-l zt|)Lza?COe*dcX>y?g1?=dV>&!!)fIb2KmY(&7$sOcR+dlKO0^_CeL`oeC+s;$RQ( z%Bw$i2ZljDI8+&#L>N%B04#ljvH&W8hcYNb1bCxrMNXO^-y?u6kO|j{lpR1Oa53Oc z!Uz-gBAWnD&yaqDi_M;_mWM6>NE^?AXHN}Gw(-c@rM)nD|ph`w&5Dx&wdn&L1 literal 1396 zcmWIWW@h1H0D+H%pZvfKD8b1fz~Ji|;;8HC=cXST!NV|zLpQGMp+T(FO9qAjoZ1AC zwH4=PmSj|7)h)un0fg4G_oG-Ufkk(2VqRuiYHZ9xqjGR#j%(U|VKY*%bwD zNsd{D0XwA5uy-$g`uw%3YM7?=VvgpeURvBij%gy(MN*$F)jp`2y;C7YR~+m?rEB@u z-GLs-2jT#4MkY~aT#20r=3R%kjvyvd(&vCDeSAg;Fd!RYj%)-x8=#wn$OOnKRszYS zC5@$6OhRM{4tSP;xDAogkrO1UiI1?Dh)DMw@N|#tTg-%v?AuUAqyU5Z7L=?Z{skp# zWY>WbHFC<6Lhb|J_#C19iOyVg?2PwRuQ6 diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/main.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/main.json index e0914d0803b..2dcf6df70f3 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/main.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/main.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/merges-1.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/merges-1.json index cd043040130..5c7cd168666 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/merges-1.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/merges-1.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts-2.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts-2.json index d7925d4485b..98754e0e1e7 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts-2.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts-2.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "foo": "bar", "list": [ diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts.json index 800e55a7d7e..fef45a06537 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/metadata-conflicts.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "foo": "baz", "list": [ diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-2.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-2.json index 0752ecdb76b..79e5d27ea4a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-2.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-2.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String": { "type": "apply", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-3.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-3.json index ac4e3890cd7..25b4937662f 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-3.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/merges-3.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String": { "type": "apply", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-ion-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-ion-model.json index 8e6a8346f8d..6ce13817009 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-ion-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-ion-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String2": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-json-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-json-model.json index ee712f88a7f..71007f8f5e0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-json-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/nested/other-json-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String3": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/null-coerce-traits.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/null-coerce-traits.json index 4232fbbc959..95963d7d12a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/null-coerce-traits.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/null-coerce-traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Foo": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/other-top-level.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/other-top-level.json index 8b737786420..441246c7b81 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/other-top-level.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/other-top-level.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#String": { "smithy.api#documentation": "Docs!" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/second-namespace.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/second-namespace.smithy index 1416cf51fed..13c90ea0daf 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/second-namespace.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/second-namespace.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example2 diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/string-member-external-traits.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/string-member-external-traits.json index 3d87ff804b9..f283c8c1098 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/string-member-external-traits.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/string-member-external-traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/test-foo-protocol-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/test-foo-protocol-validator.json index 5590c0c1b7d..64dc9eed914 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/test-foo-protocol-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/test-foo-protocol-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/deprecated-operations.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/deprecated-operations.json index de9896bc836..32fac079fde 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/deprecated-operations.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/deprecated-operations.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#A": { "type": "operation" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/doc-comments.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/doc-comments.json index aaec08a08d0..dd991ee863c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/doc-comments.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/doc-comments.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/empty.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/empty.json index bc4df350491..4197c06b92c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/empty.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/empty.json @@ -1,3 +1,3 @@ { - "smithy": "0.5.0" + "smithy": "1.0.0" } diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/forward-reference-resolver.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/forward-reference-resolver.json index fe25b3c700b..474a05aee34 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/forward-reference-resolver.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/forward-reference-resolver.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Foo": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/list-and-sets.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/list-and-sets.json index 2af91b399af..da19c134d45 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/list-and-sets.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/list-and-sets.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.example#A": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/main-test.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/main-test.json index ed3f2327541..8966dcea3e9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/main-test.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/main-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.weather#City": { "type": "resource", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/maps.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/maps.json index cda8d781e5f..094e688e978 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/maps.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/maps.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.example#A": { "type": "map", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/metadata.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/metadata.json index cfa5fc7379f..a15f19a88ff 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/metadata.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/metadata.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "exp1": 10.0, "exp2": 10.0, diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/multiple-traits-same-name.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/multiple-traits-same-name.json index fc7f88313a3..36777c48b1a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/multiple-traits-same-name.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/multiple-traits-same-name.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "foo.alpha#DeprecatedString1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/simple-shapes.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/simple-shapes.json index 54fde75a970..79ae0052588 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/simple-shapes.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/simple-shapes.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyBigDecimal1": { "type": "bigDecimal" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/structures.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/structures.json index c9f4f56eaab..67712f8f647 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/structures.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/structures.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#A": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/trait-definitions.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/trait-definitions.json index f09556e7b63..c050c964ea2 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/trait-definitions.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/trait-definitions.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.namespace#MyString1": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/traits.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/traits.json index 05a2774dd1e..9609b1cab88 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/traits.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.example#A": { "type": "string", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unions.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unions.json index dabd0111692..480ba1fac15 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unions.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unions.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.foo#A": { "type": "union", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unknown-control-statement.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unknown-control-statement.json index bc4df350491..4197c06b92c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unknown-control-statement.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/unknown-control-statement.json @@ -1,3 +1,3 @@ { - "smithy": "0.5.0" + "smithy": "1.0.0" } diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.json index 56fc6f2f3ef..a924ba30070 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyList": { "type": "list", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.smithy index 16e73659213..dc05c7ac5cf 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-shapes.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.json index f8ef6ea43b9..c2291f262e0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Struct": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.smithy index 1c95bf1db5b..c0774f0eb29 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/use/use-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.example diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.json b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.json index bc4df350491..4197c06b92c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.json @@ -1,3 +1,3 @@ { - "smithy": "0.5.0" + "smithy": "1.0.0" } diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.smithy index 303114546b7..7dc01de7f34 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/loader/valid/version.smithy @@ -1 +1 @@ -$version: "0.5.0" +$version: "1.0.0" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/neighbor/unreferenced-test.json b/smithy-model/src/test/resources/software/amazon/smithy/model/neighbor/unreferenced-test.json index 2b329dfb679..5cb2ab694de 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/neighbor/unreferenced-test.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/neighbor/unreferenced-test.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#bar": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model-custom-trait.json b/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model-custom-trait.json index 6cf9e1193d0..f3fba7a460d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model-custom-trait.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model-custom-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "com.example#beta": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model.json index cc600849a11..d3d7b48a080 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/selector/model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#String": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/boolean-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/boolean-traits.smithy index c26ba1d30e2..c995f84d8cb 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/boolean-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/boolean-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/collection-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/collection-traits.smithy index ea700339470..a7bccdce2eb 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/collection-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/collection-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/document-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/document-traits.smithy index 95833a75d17..30af2072cf0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/document-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/document-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/documentation-trait.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/documentation-trait.smithy index 54a9622bb13..42e789485bb 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/documentation-trait.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/documentation-trait.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/metadata.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/metadata.smithy index 23934670c8c..c011c22acad 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/metadata.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/metadata.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" metadata CaseSensitive = true metadata caseSensitive = true diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/number-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/number-traits.smithy index 4cfeffdc5fb..e689532e941 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/number-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/number-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/object-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/object-traits.smithy index cd569a22264..c6c42cd569d 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/object-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/object-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/optional-namespaces-are-stripped.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/optional-namespaces-are-stripped.smithy index d3b79f49cd7..d4edcdbcc5a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/optional-namespaces-are-stripped.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/optional-namespaces-are-stripped.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/service-shapes.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/service-shapes.smithy index 61385cd0a91..88a1fe56231 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/service-shapes.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/service-shapes.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/simple-shapes.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/simple-shapes.smithy index f7e48c23821..94e5a16a0a0 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/simple-shapes.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/simple-shapes.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/string-traits.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/string-traits.smithy index 8945274376c..bc5adca7f5e 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/string-traits.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/cases/string-traits.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace ns.foo diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/input.json b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/input.json index 46987a88fc3..876d7fe6f6a 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/input.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/input.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "shared": true }, diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.primitives.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.primitives.smithy index 9d20979e21c..3ad420fc612 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.primitives.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.primitives.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" metadata shared = true diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.structures.smithy b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.structures.smithy index e05139f9488..81b15694df9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.structures.smithy +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/multiple-namespaces/output/ns.structures.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" metadata shared = true diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/test-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/test-model.json index 670f608db42..9c6e414fcdf 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/test-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/idl-serialization/test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "metadata": { "shared": true }, diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/test-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/test-model.json index e0dfe124f96..27a030eeb90 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/test-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/shapes/test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#AnotherService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/integration-test-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/integration-test-model.json index ea4dca05c1e..21bc60648e8 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/integration-test-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/integration-test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/scrub-trait-def.json b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/scrub-trait-def.json index cf415db5e3c..9605cbfceb9 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/scrub-trait-def.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/scrub-trait-def.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#foo": { "type": "structure", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/test-model.json b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/test-model.json index fbab1130208..1db52489f5e 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/transform/test-model.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/transform/test-model.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#MyService": { "type": "service", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/node-validator.json b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/node-validator.json index 9c24c35a7a2..514a465f67e 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/node-validator.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/node-validator.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "ns.foo#Byte": { "type": "byte", diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/invalid/b.json b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/invalid/b.json index 3d667762133..1f042c1f17c 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/invalid/b.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/invalid/b.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string" diff --git a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/valid/b.json b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/valid/b.json index 3cb0096701e..0c32369c0ed 100644 --- a/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/valid/b.json +++ b/smithy-model/src/test/resources/software/amazon/smithy/model/validation/testrunner/testrunner/valid/b.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#MyString": { "type": "string", diff --git a/smithy-mqtt-traits/src/main/resources/META-INF/smithy/smithy.api.mqtt.smithy b/smithy-mqtt-traits/src/main/resources/META-INF/smithy/smithy.api.mqtt.smithy index 404006ac105..3a288d5cc58 100644 --- a/smithy-mqtt-traits/src/main/resources/META-INF/smithy/smithy.api.mqtt.smithy +++ b/smithy-mqtt-traits/src/main/resources/META-INF/smithy/smithy.api.mqtt.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.mqtt diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/adds-empty-response.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/adds-empty-response.json index 244fc7c2036..844941a0b07 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/adds-empty-response.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/adds-empty-response.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-http-bindings.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-http-bindings.json index b49c24c3b76..1f3584abe01 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-http-bindings.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-http-bindings.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-protocols-trait.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-protocols-trait.json index 1c9cc0606eb..5f0810383cb 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-protocols-trait.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/missing-protocols-trait.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/mixed-security-service.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/mixed-security-service.json index c0477ab1310..7ca6e062382 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/mixed-security-service.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/mixed-security-service.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-mediatype-format.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-mediatype-format.json index c9a2d2a13e5..2c38a725dff 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-mediatype-format.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-mediatype-format.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-timestamp-format.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-timestamp-format.json index 0d1c2f8f887..7e911d5111d 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-timestamp-format.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-header-timestamp-format.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-json-document-bodies.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-json-document-bodies.json index 8238e8aca29..1f8110c6a60 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-json-document-bodies.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-json-document-bodies.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-path-timestamp-format.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-path-timestamp-format.json index 208af2da194..159cfa2c639 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-path-timestamp-format.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-path-timestamp-format.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-blob-format.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-blob-format.json index 5746c9ed379..ff8ec910645 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-blob-format.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-blob-format.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-timestamp-format.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-timestamp-format.json index 551a3886e0e..2c8e8baf7d7 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-timestamp-format.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/adds-query-timestamp-format.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/aws-rest-json-uses-jsonname.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/aws-rest-json-uses-jsonname.json index 030f6d21f60..b5403135497 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/aws-rest-json-uses-jsonname.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/aws-rest-json-uses-jsonname.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/supports-payloads.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/supports-payloads.json index e4ed9ebd248..f4917df2c73 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/supports-payloads.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/supports-payloads.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/synthesizes-contents.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/synthesizes-contents.json index d48d9ddb6c8..6e4bc33dd89 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/synthesizes-contents.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/protocols/synthesizes-contents.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/awsv4-security.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/awsv4-security.json index 49ef4a6215a..816c0fba56a 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/awsv4-security.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/awsv4-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-api-key-security.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-api-key-security.json index 1223262910f..ba4efe08f6d 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-api-key-security.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-api-key-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-basic-security.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-basic-security.json index 63c3aadb225..33e01d5485a 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-basic-security.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-basic-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-digest-security.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-digest-security.json index 24bea0b5664..07344cc2424 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-digest-security.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/security/http-digest-security.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/tagged-service.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/tagged-service.json index c01995bd5da..00665d3726c 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/tagged-service.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/tagged-service.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/test-service.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/test-service.json index 61ec75c4a96..7b64bfe57a2 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/test-service.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/test-service.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "example.rest#RestService": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unable-to-resolve-protocol.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unable-to-resolve-protocol.json index 04e989a2d94..6a8266e0343 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unable-to-resolve-protocol.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unable-to-resolve-protocol.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unsupported-http-method.json b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unsupported-http-method.json index fc09cbc3975..bf44a94e504 100644 --- a/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unsupported-http-method.json +++ b/smithy-openapi/src/test/resources/software/amazon/smithy/openapi/fromsmithy/unsupported-http-method.json @@ -1,5 +1,5 @@ { - "smithy": "0.5.0", + "smithy": "1.0.0", "shapes": { "smithy.example#Service": { "type": "service", diff --git a/smithy-protocol-test-traits/src/main/resources/META-INF/smithy/smithy.test.smithy b/smithy-protocol-test-traits/src/main/resources/META-INF/smithy/smithy.test.smithy index 70ffd019bd5..1346210b54a 100644 --- a/smithy-protocol-test-traits/src/main/resources/META-INF/smithy/smithy.test.smithy +++ b/smithy-protocol-test-traits/src/main/resources/META-INF/smithy/smithy.test.smithy @@ -1,4 +1,4 @@ -$version: "0.5.0" +$version: "1.0.0" namespace smithy.test