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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user