merged
This commit is contained in:
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -27026,7 +27026,7 @@ SwaggerUi.partials.signature = (function () {
|
||||
|
||||
var getNamespace = function (xml) {
|
||||
var namespace = '';
|
||||
var name = 'xlmns';
|
||||
var name = 'xmlns';
|
||||
|
||||
xml = xml || {};
|
||||
|
||||
|
||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -694,7 +694,7 @@ SwaggerUi.partials.signature = (function () {
|
||||
|
||||
var getNamespace = function (xml) {
|
||||
var namespace = '';
|
||||
var name = 'xlmns';
|
||||
var name = 'xmlns';
|
||||
|
||||
xml = xml || {};
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ describe('SwaggerUi.partials.signature tests', function () {
|
||||
}
|
||||
};
|
||||
|
||||
expect(sut.createSchemaXML(name, definition, models)).to.equal('<sample:name xlmns:sample="http://swagger.io/schema/sample">string</sample:name>');
|
||||
expect(sut.createSchemaXML(name, definition, models)).to.equal('<sample:name xmlns:sample="http://swagger.io/schema/sample">string</sample:name>');
|
||||
});
|
||||
|
||||
it('returns tag <test:tagname >string</test:tagname> when passing type string and xml:{"namespace": "http://swagger.io/schema/sample"}', function () {
|
||||
@@ -210,7 +210,7 @@ describe('SwaggerUi.partials.signature tests', function () {
|
||||
}
|
||||
};
|
||||
|
||||
expect(sut.createSchemaXML(name, definition, models)).to.equal('<name xlmns="http://swagger.io/schema/sample">string</name>');
|
||||
expect(sut.createSchemaXML(name, definition, models)).to.equal('<name xmlns="http://swagger.io/schema/sample">string</name>');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user