We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 491d641 commit 90c8a73Copy full SHA for 90c8a73
src/core/index.js
@@ -69,7 +69,7 @@ export default function SwaggerUI(opts) {
69
},
70
71
defaultExpanded: true,
72
- languagesMask: null, // e.g. only show curl bash = ["curl_bash"]
+ languages: null, // e.g. only show curl bash = ["curl_bash"]
73
74
supportedSubmitMethods: [
75
"get",
src/core/plugins/request-snippets/selectors.js
@@ -10,7 +10,7 @@ export const getGenerators = createSelector(
10
.get("languages")
11
const generators = state
12
.get("generators", Map())
13
- if(!languageKeys) {
+ if(!languageKeys || languageKeys.isEmpty()) {
14
return generators
15
}
16
0 commit comments