Server Test Typescript

Server Test Typescript

rev. ce76c569583a3fdee1e9d39e082a8d5efd7b13b7 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-server-test-typescript/pokemon-service-server-sdk/rust-server-codegen-typescript/src/operation.rs

@@ -1,1 +32,31 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
    3      2   
const CONTENT_TYPE_GETPOKEMONSPECIES: ::mime::Mime = ::mime::APPLICATION_JSON;
    4      3   
::pin_project_lite::pin_project! {
    5      4   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
    6      5   
    /// [`GetPokemonSpeciesInput`](crate::input::GetPokemonSpeciesInput) using modelled bindings.
    7      6   
    pub struct GetPokemonSpeciesInputFuture {
    8      7   
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::GetPokemonSpeciesInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
    9      8   
    }
   10      9   
}
   11     10   
   12     11   
impl std::future::Future for GetPokemonSpeciesInputFuture {

tmp-codegen-diff/codegen-server-test-typescript/simple/rust-server-codegen-typescript/src/operation.rs

@@ -1,1 +32,31 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
    3      2   
const CONTENT_TYPE_OPERATION: ::mime::Mime = ::mime::APPLICATION_JSON;
    4      3   
::pin_project_lite::pin_project! {
    5      4   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
    6      5   
    /// [`OperationInput`](crate::input::OperationInput) using modelled bindings.
    7      6   
    pub struct OperationInputFuture {
    8      7   
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::OperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
    9      8   
    }
   10      9   
}
   11     10   
   12     11   
impl std::future::Future for OperationInputFuture {