diff --git a/dist/index.html b/dist/index.html
index f6aaf9e4..52590951 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -76,6 +76,7 @@ window.onload = function() {
const ui = SwaggerUIBundle({
url: "http://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
+ deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
diff --git a/src/core/components/info.jsx b/src/core/components/info.jsx
index 6ea1ed48..5e2b368a 100644
--- a/src/core/components/info.jsx
+++ b/src/core/components/info.jsx
@@ -15,7 +15,7 @@ class Path extends React.Component {
return (
- [ Base url: {host}{basePath}]
+ [ Base URL: {host}{basePath} ]
)
}
diff --git a/src/core/components/layout-utils.jsx b/src/core/components/layout-utils.jsx
index 00a4a09d..f80e0c90 100644
--- a/src/core/components/layout-utils.jsx
+++ b/src/core/components/layout-utils.jsx
@@ -129,7 +129,8 @@ export class Select extends React.Component {
value: PropTypes.any,
onChange: PropTypes.func,
multiple: PropTypes.bool,
- allowEmptyValue: PropTypes.bool
+ allowEmptyValue: PropTypes.bool,
+ className: PropTypes.string
}
static defaultProps = {
@@ -142,7 +143,7 @@ export class Select extends React.Component {
let value
- if (props.value !== undefined) {
+ if (props.value) {
value = props.value
} else {
value = props.multiple ? [""] : ""
@@ -178,7 +179,7 @@ export class Select extends React.Component {
let value = this.state.value.toJS ? this.state.value.toJS() : this.state.value
return (
-