Skip to content

Add examples of validators to documentation#1702

Merged
hpmellema merged 5 commits intosmithy-lang:mainfrom
hpmellema:validation-examples
Apr 7, 2023
Merged

Add examples of validators to documentation#1702
hpmellema merged 5 commits intosmithy-lang:mainfrom
hpmellema:validation-examples

Conversation

@hpmellema
Copy link
Copy Markdown
Contributor

Description of changes:
This pull request adds a number of example linters to as a subpage of the Validator page.

These examples are not exhaustive, but are intended to show users some of the ways smithy validators can prevent common bugs and enforce a common style in their Smithy models.

Testing
I checked each validator against a local model to make sure error messages formatted correctly and that they could be parsed. Then I generated the docs using the make html command and visually checked the generated html.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema requested a review from a team as a code owner March 31, 2023 14:24
@hpmellema hpmellema merged commit 37170e3 into smithy-lang:main Apr 7, 2023
@hpmellema hpmellema deleted the validation-examples branch April 7, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants