Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update opinionated protocol tests to not describe optional behavior (s…
…mithy-lang#481) * Update opinionated protocol tests to not describe optional behavior Removes the protocol tests for HTTP Prefix Header deserialization, deserializing to an empty map vs null value. Null vs empty map will be SDK implementation specific distinction. If there was a way to model `empty` as an expectation that would encompass both null and empty but initialized map this test would be more portable. Updates the empty input output serialization protocol test to expect empty payload not empty JSON object as the serialized result. It doesn't look like the REST-JSON protocol should be serializing empty JSON object when no members are serialized.
- Loading branch information