Skip to content

Clean up and rewrite spec for XML bindings#242

Merged
mtdowling merged 2 commits intomasterfrom
clean-up-xml-traits
Jan 6, 2020
Merged

Clean up and rewrite spec for XML bindings#242
mtdowling merged 2 commits intomasterfrom
clean-up-xml-traits

Conversation

@mtdowling
Copy link
Copy Markdown
Member

This commit updates the XML traits spec to be made more generic and
framed in terms of binding to XML. XML traits have been restricted to
only apply to shapes in which they are actually supported. Many more
examples have been added to the XML spec (note that I selectively did
not include a JSON equivalent example when a JSON example adds no
expository value).

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from kstich January 5, 2020 21:23
@mtdowling mtdowling force-pushed the clean-up-xml-traits branch from 02f1d40 to aacc3ce Compare January 6, 2020 18:35
This commit updates the XML traits spec to be made more generic and
framed in terms of binding to XML. XML traits have been restricted to
only apply to shapes in which they are actually supported. Many more
examples have been added to the XML spec (note that I selectively did
not include a JSON equivalent example when a JSON example adds no
expository value).
@mtdowling mtdowling force-pushed the clean-up-xml-traits branch from aacc3ce to 9f88918 Compare January 6, 2020 19:03
@mtdowling mtdowling requested a review from kstich January 6, 2020 19:03
Because union shapes can be targeted by the httpPayload trait, we need
to allow xmlName on unions to alter the outermost wrapper that is used
to serialize the union when using a REST + XML protocol.
@mtdowling mtdowling merged commit c7148b9 into master Jan 6, 2020
@mtdowling mtdowling deleted the clean-up-xml-traits branch January 13, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants