#1931 Fixed Need fix typo 'xlmns'
This commit is contained in:
2
dist/css/print.css
vendored
2
dist/css/print.css
vendored
@@ -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
2
dist/css/screen.css
vendored
@@ -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
2
dist/swagger-ui.js
vendored
@@ -27021,7 +27021,7 @@ SwaggerUi.partials.signature = (function () {
|
||||
|
||||
var getNamespace = function (xml) {
|
||||
var namespace = '';
|
||||
var name = 'xlmns';
|
||||
var name = 'xmlns';
|
||||
|
||||
xml = xml || {};
|
||||
|
||||
|
||||
6
dist/swagger-ui.min.js
vendored
6
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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