Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up and rewrite spec for XML bindings #242

Merged
merged 2 commits into from
Jan 6, 2020
Merged

Conversation

mtdowling
Copy link
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
docs/source/spec/xml.rst Outdated Show resolved Hide resolved
docs/source/spec/xml.rst Show resolved Hide resolved
docs/source/spec/xml.rst Show resolved Hide resolved
docs/source/spec/xml.rst Outdated Show resolved Hide resolved
docs/source/spec/xml.rst Show resolved Hide resolved
docs/source/spec/xml.rst Outdated Show resolved Hide resolved
docs/source/spec/xml.rst Show resolved Hide resolved
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