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

when consumes/produces format is XML, "Example Value" shows XML but with namespace missing; swagger version -- current version in master branch #2077

Closed
lizli98 opened this issue Apr 6, 2016 · 7 comments
Assignees
Milestone

Comments

@lizli98
Copy link

lizli98 commented Apr 6, 2016

id_request_xml
When reporting a bug, please provide the following details:

  • swagger-ui version
  • a swagger file reproducing the issue
@lizli98
Copy link
Author

lizli98 commented Apr 6, 2016

id_request_xml_if_with_namespace

@gaeljw
Copy link

gaeljw commented Apr 25, 2016

@YL96 please provide your swagger-ui version and swagger file to reproduce

@lizli98
Copy link
Author

lizli98 commented Apr 28, 2016

the swagger version is current version in master branch by 04/06/2016. (It is not any formal released versions, which don't support XML at all)

I am sorry that I couldn't provide you my swagger file. We are using XML schema and our rest web service consume and produce XML.

The request XML "Example Value" looks like below.

1970-01-01T00:00:00.001Z 1970-01-01T00:00:00.001Z

However, ideally we would like having "Example Value" with namespace (xmlns="urn:com.aba.xyz" ) as below:

1970-01-01T00:00:00.001Z 1970-01-01T00:00:00.001Z

Please let me know of any further questions.

Thanks,

Liz

Date: Mon, 25 Apr 2016 08:07:55 -0700
From: notifications@github.com
To: swagger-ui@noreply.github.com
CC: yl96@hotmail.com; mention@noreply.github.com
Subject: Re: [swagger-api/swagger-ui] when consumes/produces format is XML, "Example Value" shows XML but with namespace missing; swagger version -- current version in master branch (#2077)

@YL96 please provide your swagger-ui version and swagger file to reproduce


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@webron
Copy link
Contributor

webron commented May 3, 2016

@YL96 - without a Swagger spec file reproducing the issue, we'll have no way to troubleshoot it.

@bodnia
Copy link
Contributor

bodnia commented Jun 18, 2016

@fehguy @webron this ticket may be closed too?

@webron
Copy link
Contributor

webron commented Jun 29, 2016

Fixed in master.

@webron webron closed this as completed Jun 29, 2016
@lizli98
Copy link
Author

lizli98 commented Jun 29, 2016

Thanks for the update!

Date: Wed, 29 Jun 2016 06:55:42 -0700
From: notifications@github.com
To: swagger-ui@noreply.github.com
CC: yl96@hotmail.com; mention@noreply.github.com
Subject: Re: [swagger-api/swagger-ui] when consumes/produces format is XML, "Example Value" shows XML but with namespace missing; swagger version -- current version in master branch (#2077)

Fixed in master.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Jonahss pushed a commit to eaze/swagger-ui that referenced this issue Aug 12, 2016
vincent-zurczak pushed a commit to roboconf/swagger-ui that referenced this issue Aug 19, 2016
vincent-zurczak pushed a commit to roboconf/swagger-ui that referenced this issue Aug 19, 2016
@fehguy fehguy added this to the v2.2.1 milestone Aug 23, 2016
kodekracker pushed a commit to 91springboard/swagger-ui that referenced this issue Mar 2, 2017
JuanSW18 pushed a commit to Digital-Paw/digital-paw-swagger-ui that referenced this issue Aug 23, 2024
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

No branches or pull requests

5 participants