Skip to content

Commit

Permalink
API Explorer v.1.1.1
Browse files Browse the repository at this point in the history
  * Added information about the number of items in the returned data lists
    under the Result data tab in the API method call report.
  • Loading branch information
Leonid Vakulenko committed Feb 12, 2025
1 parent 173a6f4 commit 3dfe708
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 138 deletions.
27 changes: 13 additions & 14 deletions wa-apps/apiexplorer/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,29 @@
"copyjs": "copyfiles dist/assets/*.js ../js --flat"
},
"dependencies": {
"@intlify/unplugin-vue-i18n": "^0.10.0",
"@popperjs/core": "^2.11.6",
"@intlify/unplugin-vue-i18n": "^0.10.1",
"@popperjs/core": "^2.11.8",
"axios": "^0.21.4",
"copyfiles": "^2.4.1",
"core-js": "^3.27.1",
"jquery": "^3.6.0",
"marked": "^4.2.5",
"mitt": "^3.0.0",
"pretty-print-json": "^1.3.1",
"swagger-client": "^v3.19.8",
"v-calendar": "^3.0.0-alpha.6",
"core-js": "^3.40.0",
"jquery": "^3.7.1",
"marked": "^4.3.0",
"mitt": "^3.0.1",
"pretty-print-json": "^1.5.0",
"swagger-client": "^3.33.2",
"vue": "^3.2.45",
"vue-i18n": "^9.2.2",
"vue-router": "^4.1.5",
"vue-i18n": "^9.14.2",
"vue-router": "^4.5.0",
"vuex": "^4.1.0"
},
"devDependencies": {
"@rollup/plugin-inject": "^5.0.3",
"@vitejs/plugin-vue": "^4.2.3",
"@rollup/plugin-inject": "^5.0.5",
"@vitejs/plugin-vue": "^4.6.2",
"@vue/compiler-sfc": "^3.2.45",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-plugin-vue": "^7.20.0",
"vite": "^4.3.8",
"vite": "^4.5.9",
"vite-plugin-html-env": "^1.2.8"
},
"eslintConfig": {
Expand Down
9 changes: 8 additions & 1 deletion wa-apps/apiexplorer/client/src/components/SchemaData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@
<span class="custom-ml-8 icon" v-if="collapsed(param)"><i class="fas fa-caret-right"></i></span>
<span class="custom-ml-8 icon" v-else><i class="fas fa-caret-down"></i></span>
</a>
<div class="hint description" v-if="effective_schema.properties[param].description" v-html="markdown(effective_schema.properties[param].description)"></div>
<span v-if="isArrayNested(param)">
<span v-if="Array.isArray(val)" class="hint">{{ val.length }}</span>
<span v-else class="hint">not valid content</span>
</span>
<div v-if="effective_schema.properties[param].description"
v-html="markdown(effective_schema.properties[param].description)"
class="hint description"
></div>
<p v-else></p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion wa-apps/apiexplorer/css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

350 changes: 229 additions & 121 deletions wa-apps/apiexplorer/js/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wa-apps/apiexplorer/lib/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'name' => 'API Explorer',
'description' => 'REST client for all API-enabled apps',
'icon' => 'img/apiexplorer.svg',
'version' => '1.1.0',
'version' => '1.1.1',
'vendor' => 'webasyst',
'ui' => '2.0',
);

0 comments on commit 3dfe708

Please sign in to comment.