#1931 Fixed Need fix typo 'xlmns'

This commit is contained in:
Anna Bodnia
2016-01-29 18:44:01 +02:00
parent f9ab874e7b
commit 918958aa70
8 changed files with 11 additions and 11 deletions

2
dist/css/print.css vendored
View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

2
dist/css/screen.css vendored
View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

2
dist/swagger-ui.js vendored
View File

@@ -27021,7 +27021,7 @@ SwaggerUi.partials.signature = (function () {
var getNamespace = function (xml) {
var namespace = '';
var name = 'xlmns';
var name = 'xmlns';
xml = xml || {};

File diff suppressed because one or more lines are too long

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

View File

@@ -694,7 +694,7 @@ SwaggerUi.partials.signature = (function () {
var getNamespace = function (xml) {
var namespace = '';
var name = 'xlmns';
var name = 'xmlns';
xml = xml || {};

View File

@@ -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>');
});
});