@gopowerteam/request-generate 0.1.25 → 0.1.26

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.
package/dist/index.js CHANGED
@@ -637,7 +637,7 @@ function parseOperation2(path5, method, operationObject) {
637
637
  ...(responseSchema == null ? void 0 : responseSchema.imports) || []
638
638
  ])
639
639
  );
640
- operation.responseRef = (responseSchema == null ? void 0 : responseSchema.ref) || "void";
640
+ operation.responseRef = (responseSchema == null ? void 0 : responseSchema.ref) || (responseSchema == null ? void 0 : responseSchema.type) || "void";
641
641
  return operation;
642
642
  }
643
643
  function parseResponseType2(responses) {
package/dist/index.mjs CHANGED
@@ -638,7 +638,7 @@ function parseOperation2(path5, method, operationObject) {
638
638
  ...(responseSchema == null ? void 0 : responseSchema.imports) || []
639
639
  ])
640
640
  );
641
- operation.responseRef = (responseSchema == null ? void 0 : responseSchema.ref) || "void";
641
+ operation.responseRef = (responseSchema == null ? void 0 : responseSchema.ref) || (responseSchema == null ? void 0 : responseSchema.type) || "void";
642
642
  return operation;
643
643
  }
644
644
  function parseResponseType2(responses) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gopowerteam/request-generate",
3
3
  "type": "commonjs",
4
- "version": "0.1.25",
4
+ "version": "0.1.26",
5
5
  "private": false,
6
6
  "keywords": [
7
7
  "gopowerteam",