Merge branch 'master' into target-blankv2

This commit is contained in:
Robert Barnwell
2017-03-20 16:15:07 -07:00
committed by GitHub
20 changed files with 112 additions and 108 deletions

View File

@@ -7,7 +7,7 @@ export default class OnlineValidatorBadge extends React.Component {
let { validatorUrl } = getConfigs()
this.state = {
url: specSelectors.url(),
validatorUrl: validatorUrl
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
}
}
@@ -17,7 +17,7 @@ export default class OnlineValidatorBadge extends React.Component {
this.setState({
url: specSelectors.url(),
validatorUrl: validatorUrl
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
})
}

View File

@@ -59,12 +59,6 @@ export default class Operations extends React.Component {
</small>
}
<button className="expand-methods" title="Expand all methods">
<svg className="expand" width="20" height="20">
<use xlinkHref="#expand" />
</svg>
</button>
<button className="expand-operation" title="Expand operation" onClick={() => layoutActions.show(isShownKey, !showTag)}>
<svg className="arrow" width="20" height="20">
<use xlinkHref={showTag ? "#large-arrow-down" : "#large-arrow"} />