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 <[email protected]>

---------

Co-authored-by: Trivikram Kamat <[email protected]>
  • Loading branch information
kuhe and trivikr authored Oct 19, 2023
1 parent 5e9fd6c commit 05f5d42
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-monkeys-leave.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 05f5d42

Please sign in to comment.