smithy-lang / smithy-typescript

Smithy code generators for TypeScript. (in development)
Apache License 2.0
211 stars 78 forks source link

Update codegen to validate `resolvedHost` from httpRequestTests #1298

Closed trivikr closed 1 month ago

trivikr commented 1 month ago

Is your feature request related to a problem? Please describe.

The protocol tests do not verify resolvedHost from httpRequestTests

Describe the solution you'd like

Update codegen to validate resolvedHost, likely in https://github.com/smithy-lang/smithy-typescript/blob/main/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java

Describe alternatives you've considered

N/A

Additional context

Noticed while adding machinelearning test in https://github.com/aws/aws-sdk-js-v3/pull/6161

trivikr commented 1 month ago

Other tests which use resolvedHost: https://github.com/search?q=repo%3Asmithy-lang%2Fsmithy%20resolvedHost%20path%3A*.smithy&type=code