stoicflame / enunciate-openapi

OpenAPI3 module for Enunciate
Apache License 2.0
10 stars 10 forks source link

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

Open mengjiann opened 4 years ago

mengjiann commented 4 years ago

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.