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

Does XML prefix(id) get translated in enunciate namespace? #32

Open
mengjiann opened this issue Aug 21, 2020 · 0 comments
Open

Does XML prefix(id) get translated in enunciate namespace? #32

mengjiann opened this issue Aug 21, 2020 · 0 comments

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

mengjiann pushed a commit to mengjiann/enunciate-openapi that referenced this issue Aug 25, 2020
mengjiann added a commit to mengjiann/enunciate-openapi that referenced this issue Aug 25, 2020
mengjiann added a commit to mengjiann/enunciate-openapi that referenced this issue Aug 25, 2020
mengjiann added a commit to mengjiann/enunciate-openapi that referenced this issue Aug 27, 2020
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

1 participant