@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.
@@ -1239,7 +1239,8 @@ var OpenApiTsGenerator = class {
1239
1239
  output: ep.outputSchema,
1240
1240
  description: ep.description,
1241
1241
  tags: ep.tags,
1242
- operationId: ep.operationId
1242
+ operationId: ep.operationId,
1243
+ responseType: ep.responseType ?? "application/json"
1243
1244
  };
1244
1245
  });
1245
1246
  }
@@ -1493,7 +1494,7 @@ var OpenApiTsGenerator = class {
1493
1494
  parts.push(`responses: {
1494
1495
  200: {
1495
1496
  content: {
1496
- 'application/json': ${outputName};
1497
+ '${info.responseType}': ${outputName};
1497
1498
  };
1498
1499
  };
1499
1500
  }`);
@@ -1794,4 +1795,4 @@ async function openapiCommand(options = {}) {
1794
1795
 
1795
1796
  //#endregion
1796
1797
  export { ConstructGenerator, EndpointGenerator, OPENAPI_OUTPUT_PATH, generateOpenApi, isPartitionedRoutes, normalizeRoutes, openapiCommand, resolveOpenApiConfig };
1797
- //# sourceMappingURL=openapi-DE8b-vin.mjs.map
1798
+ //# sourceMappingURL=openapi-DY3ctapV.mjs.map