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.

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).
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