fix: repair schemes servers rendering (via #4913)

* create AuthorizeBtnContainer

* remove Servers and AuthorizeBtn from Schemes' concern

* add AuthorizeBtnContainer to base

* strengthen OAS3 definitionsToAuthorize

* drop obsolete tests

* linter fixes
This commit is contained in:
kyle
2018-10-01 20:27:52 -05:00
committed by GitHub
parent 15d5df0875
commit 004f107ec4
7 changed files with 65 additions and 78 deletions

View File

@@ -26,6 +26,10 @@ export const definitionsToAuthorize = onlyOAS3(createSelector(
// that look like Swagger2 definitions.
let list = List()
if(!definitions) {
return list
}
definitions.entrySeq().forEach( ([ defName, definition ]) => {
const type = definition.get("type")