Documentation and examples for @typespec/xml are not useful. #3943
todurnatesh
started this conversation in
General
Replies: 1 comment
-
The xml library currently is not used by the openapi emitter. It was added to start looking at some of the azure services like blob storage and make sure we are able to represent everything with them. Realized we never created a issue for that, just create one #3945 feel free to thumbs up to track user requests |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am looking to have xml output with namespace / attributes for a particularly simple model. Was not able to implement these as the basic examples in https://typespec.io/docs/libraries/xml/guide dont work and the guide seems to be incomplete.
Here is my basic setup.
tspconfig.yml
package.json
main.tsp
Test
running
tsp compile .
in root directory.Current output
Expected output -
must have xml and namespace related attributes.
Any help is appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions