Skip to content

Commit 3dfe708

Browse files
author
Leonid Vakulenko
committed
API Explorer v.1.1.1
* Added information about the number of items in the returned data lists under the Result data tab in the API method call report.
1 parent 173a6f4 commit 3dfe708

File tree

5 files changed

+252
-138
lines changed

5 files changed

+252
-138
lines changed

wa-apps/apiexplorer/client/package.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,29 @@
1010
"copyjs": "copyfiles dist/assets/*.js ../js --flat"
1111
},
1212
"dependencies": {
13-
"@intlify/unplugin-vue-i18n": "^0.10.0",
14-
"@popperjs/core": "^2.11.6",
13+
"@intlify/unplugin-vue-i18n": "^0.10.1",
14+
"@popperjs/core": "^2.11.8",
1515
"axios": "^0.21.4",
1616
"copyfiles": "^2.4.1",
17-
"core-js": "^3.27.1",
18-
"jquery": "^3.6.0",
19-
"marked": "^4.2.5",
20-
"mitt": "^3.0.0",
21-
"pretty-print-json": "^1.3.1",
22-
"swagger-client": "^v3.19.8",
23-
"v-calendar": "^3.0.0-alpha.6",
17+
"core-js": "^3.40.0",
18+
"jquery": "^3.7.1",
19+
"marked": "^4.3.0",
20+
"mitt": "^3.0.1",
21+
"pretty-print-json": "^1.5.0",
22+
"swagger-client": "^3.33.2",
2423
"vue": "^3.2.45",
25-
"vue-i18n": "^9.2.2",
26-
"vue-router": "^4.1.5",
24+
"vue-i18n": "^9.14.2",
25+
"vue-router": "^4.5.0",
2726
"vuex": "^4.1.0"
2827
},
2928
"devDependencies": {
30-
"@rollup/plugin-inject": "^5.0.3",
31-
"@vitejs/plugin-vue": "^4.2.3",
29+
"@rollup/plugin-inject": "^5.0.5",
30+
"@vitejs/plugin-vue": "^4.6.2",
3231
"@vue/compiler-sfc": "^3.2.45",
3332
"babel-eslint": "^10.1.0",
3433
"eslint": "^6.8.0",
3534
"eslint-plugin-vue": "^7.20.0",
36-
"vite": "^4.3.8",
35+
"vite": "^4.5.9",
3736
"vite-plugin-html-env": "^1.2.8"
3837
},
3938
"eslintConfig": {

wa-apps/apiexplorer/client/src/components/SchemaData.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@
3636
<span class="custom-ml-8 icon" v-if="collapsed(param)"><i class="fas fa-caret-right"></i></span>
3737
<span class="custom-ml-8 icon" v-else><i class="fas fa-caret-down"></i></span>
3838
</a>
39-
<div class="hint description" v-if="effective_schema.properties[param].description" v-html="markdown(effective_schema.properties[param].description)"></div>
39+
<span v-if="isArrayNested(param)">
40+
<span v-if="Array.isArray(val)" class="hint">{{ val.length }}</span>
41+
<span v-else class="hint">not valid content</span>
42+
</span>
43+
<div v-if="effective_schema.properties[param].description"
44+
v-html="markdown(effective_schema.properties[param].description)"
45+
class="hint description"
46+
></div>
4047
<p v-else></p>
4148
</div>
4249
</div>

wa-apps/apiexplorer/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wa-apps/apiexplorer/js/index.js

Lines changed: 229 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wa-apps/apiexplorer/lib/config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'name' => 'API Explorer',
55
'description' => 'REST client for all API-enabled apps',
66
'icon' => 'img/apiexplorer.svg',
7-
'version' => '1.1.0',
7+
'version' => '1.1.1',
88
'vendor' => 'webasyst',
99
'ui' => '2.0',
1010
);

0 commit comments

Comments
 (0)