forked from smithy-lang/smithy-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few protocol tests that were added to smithy-rs have been added to smithy upstream, so can be removed. Some smithy-rs protocol tests were also not being generated because they weren't attached to the model, which has been fixed. One of these test cases, RestJsonZeroAndFalseQueryValuesFixed, was also fixed in the same manner as smithy-lang/smithy#2167.
- Loading branch information
1 parent
fceb914
commit 5b49f2b
Showing
4 changed files
with
22 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
/// TODO(https://github.com/smithy-lang/smithy-rs/issues/1508) | ||
/// reconcile this model with the main one living inside codegen-server-test/model/pokemon.smithy | ||
/// once the Typescript implementation supports Streaming and Union shapes. | ||
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1508) | ||
// reconcile this model with the main one living inside codegen-server-test/model/pokemon.smithy | ||
// once the Typescript implementation supports Streaming and Union shapes. | ||
$version: "1.0" | ||
|
||
namespace com.aws.example.ts | ||
|
||
use aws.protocols#restJson1 | ||
use com.aws.example#PokemonSpecies | ||
use com.aws.example#GetServerStatistics | ||
use com.aws.example#DoNothing | ||
use com.aws.example#CheckHealth | ||
use com.aws.example#DoNothing | ||
use com.aws.example#GetServerStatistics | ||
use com.aws.example#PokemonSpecies | ||
|
||
/// The Pokémon Service allows you to retrieve information about Pokémon species. | ||
@title("Pokémon Service") | ||
@restJson1 | ||
service PokemonService { | ||
version: "2021-12-01", | ||
resources: [PokemonSpecies], | ||
version: "2021-12-01" | ||
resources: [ | ||
PokemonSpecies | ||
] | ||
operations: [ | ||
GetServerStatistics, | ||
DoNothing, | ||
CheckHealth, | ||
], | ||
GetServerStatistics | ||
DoNothing | ||
CheckHealth | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters