@geekmidas/cli 1.10.32 → 1.10.33

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.
@@ -1240,7 +1240,8 @@ var OpenApiTsGenerator = class {
1240
1240
  output: ep.outputSchema,
1241
1241
  description: ep.description,
1242
1242
  tags: ep.tags,
1243
- operationId: ep.operationId
1243
+ operationId: ep.operationId,
1244
+ responseType: ep.responseType ?? "application/json"
1244
1245
  };
1245
1246
  });
1246
1247
  }
@@ -1494,7 +1495,7 @@ var OpenApiTsGenerator = class {
1494
1495
  parts.push(`responses: {
1495
1496
  200: {
1496
1497
  content: {
1497
- 'application/json': ${outputName};
1498
+ '${info.responseType}': ${outputName};
1498
1499
  };
1499
1500
  };
1500
1501
  }`);
@@ -1842,4 +1843,4 @@ Object.defineProperty(exports, 'resolveOpenApiConfig', {
1842
1843
  return resolveOpenApiConfig;
1843
1844
  }
1844
1845
  });
1845
- //# sourceMappingURL=openapi-BQft1jm8.cjs.map
1846
+ //# sourceMappingURL=openapi-BQVC9vE5.cjs.map