-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add xml support to openapi3 #4214
Conversation
skywing918
commented
Aug 20, 2024
•
edited
Loading
edited
- add test cases based on Examples
- add xml in OpenAPI3Schema type
- update schema-emitter logic for support xml object
/azp run typespec - pr tools |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some message change and a question on a warning but otherwise I think this starts to look good, @chrisradek was also going to take another look to have another set of eyes to double check we implemented it respecting openapi3/typespec specs
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding XML support!
Edit: Nevermind - disregard my previous post - @timotheeguerin pointed out how to rename array items using custom scalars!
1. add test cases based on [Examples](https://tspwebsitepr.z22.web.core.windows.net/prs/2982/docs/next/release-notes/xml-support.html#examples) 2. add xml in OpenAPI3Schema type 3. update schema-emitter logic for support xml object --------- Co-authored-by: Kyle Zhang <v-zhanh@microsoft.com> Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com> Co-authored-by: Wanpeng Li <wanl@microsoft.com>