swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Need fix typo 'xlmns'

Open rick22sun opened this issue 10 years ago • 3 comments

In swagger-ui.js, function

var getNamespace = function (xml) {
    ...
    var name = 'xlmns';

here 'xlmns' should be 'xmlns'.

rick22sun avatar Jan 29 '16 15:01 rick22sun

@webron Could you please change this in spec too?

This is from specification: <Person id="123"> <sample:name xlmns:sample="http://swagger.io/schema/sample">example</sample:name> </Person>

bodnia avatar Jan 29 '16 16:01 bodnia

Well, that's awkward. Fixed, thanks.

webron avatar Jan 29 '16 17:01 webron

this issue is resolved, @webron could you please close it?

bodnia avatar Apr 25 '16 11:04 bodnia