echoapi-converter 0.0.67 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2413,10 +2413,10 @@ class SwaggerToApipost {
2413
2413
  for (const method in pathItem) {
2414
2414
  const swaggerApi = pathItem[method];
2415
2415
  if (Object.prototype.toString.call(swaggerApi) !== "[object Object]")
2416
- return;
2416
+ continue;
2417
2417
  // 先过滤其他协议
2418
2418
  if (lodash.has(swaggerApi, "x-protocol") && swaggerApi['x-protocol'] !== 'http') {
2419
- return;
2419
+ continue;
2420
2420
  }
2421
2421
  if (lodash.has(swaggerApi, "tags") && swaggerApi.tags.length > 0) {
2422
2422
  this.handleTags(lodash.uniq(swaggerApi.tags), tags);
@@ -2874,7 +2874,7 @@ class SwaggerToApipost {
2874
2874
  for (const method in pathItem) {
2875
2875
  const swaggerApi = pathItem[method];
2876
2876
  if (Object.prototype.toString.call(swaggerApi) !== "[object Object]")
2877
- return;
2877
+ continue;
2878
2878
  if (lodash.has(swaggerApi, "tags") && swaggerApi.tags.length > 0) {
2879
2879
  this.handleTags(lodash.uniq(swaggerApi.tags), tags);
2880
2880
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [