Skip to content

Commit

Permalink
Update SDK's serialization of REST-JSON API input and Content-Type (#…
Browse files Browse the repository at this point in the history
…4116)

Updates the SDK's serialization of REST-JSON based API input parameters
into HTTP request message payload, and Content-Type are set correctly.

API operations with input structure members that are modeled to be
serialized to the request payload will always have at least an empty
JSON object serialized. Even if all members targeting the payload are
nil.

Also changes REST-JSON serialization so that Content-Type is not sent if
the input parameter has no members target the request payload.
  • Loading branch information
jasdel committed Oct 11, 2021
1 parent 8bb4128 commit f51ef42
Show file tree
Hide file tree
Showing 148 changed files with 6,918 additions and 4,204 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### SDK Features
* Update SDK's serialization of REST-JSON API input and Content-Type
* Updates the SDK's serialization of REST-JSON based API input parameters into HTTP request message payload, and Content-Type are set correctly. API operations with input structure members that are modeled to be serialized to the request payload will always have at least an empty JSON object serialized. Even if all members targeting the payload are nil. Also fixes REST-JSON serialization so that Content-Type is not sent if the input parameter has no members target the request payload.

### SDK Enhancements

Expand Down
Loading

0 comments on commit f51ef42

Please sign in to comment.