Skip to content

Commit 6f1d939

Browse files
authored
fix(models): vendor Smithy models into crates + release v0.41.1 (#2308)
2 parents d15d74e + 4e89ec9 commit 6f1d939

27 files changed

Lines changed: 89665 additions & 240 deletions

File tree

Cargo.lock

Lines changed: 115 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 109 additions & 109 deletions
Large diffs are not rendered by default.

crates/fakecloud-comprehend/model.json

Lines changed: 13893 additions & 0 deletions
Large diffs are not rendered by default.

crates/fakecloud-comprehend/src/validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use serde_json::Value;
1515

1616
/// The vendored Comprehend Smithy model (byte-for-byte from aws/api-models-aws),
1717
/// embedded so validation needs no runtime file access.
18-
const MODEL_JSON: &str = include_str!("../../../aws-models/comprehend.json");
18+
const MODEL_JSON: &str = include_str!("../model.json");
1919

2020
/// The embedded model parses to exactly this many operations; a mismatch means
2121
/// the vendored model drifted from the implemented surface.

crates/fakecloud-config/model.json

Lines changed: 19052 additions & 0 deletions
Large diffs are not rendered by default.

crates/fakecloud-config/src/model_validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use serde_json::Value;
1414

1515
/// The vendored Config Smithy model (byte-for-byte from aws/api-models-aws),
1616
/// embedded so validation needs no runtime file access.
17-
const MODEL_JSON: &str = include_str!("../../../aws-models/config.json");
17+
const MODEL_JSON: &str = include_str!("../model.json");
1818

1919
#[derive(Debug, Default)]
2020
struct MemberConstraint {

0 commit comments

Comments
 (0)