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

Swagger: Does the XML prefix(id) get translated in the enunciate XML config namespace? #1053

Closed
mengjiann opened this issue Aug 26, 2020 · 2 comments
Labels
Milestone

Comments

@mengjiann
Copy link
Contributor

Refer to the documentation from enunciate here: https://github.com/stoicflame/enunciate/wiki/Custom-Namespace-Prefixes#step-2-assign-the-prefix

Based on the example from the above link, the translated swagger doc should show something as below. But, it seems like the prefix is missing.

xml:
        prefix: data
        namespace: http://api.mycompany.com/v1/data

Thanks.

@stoicflame
Copy link
Owner

I'll look into getting those prefixes applied.

@stoicflame stoicflame added the bug label Aug 26, 2020
@stoicflame stoicflame added this to the 2.14.0 milestone Aug 26, 2020
mengjiann added a commit to mengjiann/enunciate that referenced this issue Aug 29, 2020
@stoicflame
Copy link
Owner

Fixed in 2.13.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants