fix: rename request snippets configuration props (#7535)

Closes #7534
This commit is contained in:
Mahtis Michel
2021-10-08 15:19:00 +02:00
committed by GitHub
parent 491d64157d
commit 90c8a73177
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ export default function SwaggerUI(opts) {
}, },
}, },
defaultExpanded: true, defaultExpanded: true,
languagesMask: null, // e.g. only show curl bash = ["curl_bash"] languages: null, // e.g. only show curl bash = ["curl_bash"]
}, },
supportedSubmitMethods: [ supportedSubmitMethods: [
"get", "get",

View File

@@ -10,7 +10,7 @@ export const getGenerators = createSelector(
.get("languages") .get("languages")
const generators = state const generators = state
.get("generators", Map()) .get("generators", Map())
if(!languageKeys) { if(!languageKeys || languageKeys.isEmpty()) {
return generators return generators
} }
return generators return generators