Skip to content

Commit

Permalink
fix: allow lowercase type names for endpoint parameters (#1050)
Browse files Browse the repository at this point in the history
* fix: allow lowercase type names for endpoint parameters

* Update .changeset/wise-monkeys-leave.md

Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>

---------

Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
  • Loading branch information
kuhe and trivikr committed Oct 19, 2023
1 parent 5e9fd6c commit 05f5d42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-monkeys-leave.md
@@ -0,0 +1,5 @@
---
"@smithy/types": patch
---

Allow lowercase type names for endpoint parameter
2 changes: 1 addition & 1 deletion packages/types/src/endpoints/RuleSetObject.ts
Expand Up @@ -6,7 +6,7 @@ export type DeprecatedObject = {
};

export type ParameterObject = {
type: "String" | "Boolean";
type: "String" | "string" | "Boolean" | "boolean";
default?: string | boolean;
required?: boolean;
documentation?: string;
Expand Down

0 comments on commit 05f5d42

Please sign in to comment.