redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Review and improve `respect-core` exports

Open DmitryAnansky opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe. respect-code exports should be reviewed and improved.

Describe the solution you'd like

  • [x] - handleGenerate, handleRun export function should be changed. respect-code should know accept additional parameters but not directly yargs args. CLI wrapper should handle that logic.
  • [x] - Need to review types export. Now there is only export type { JsonLogs } from './types.js'; but we should at least export types related to handleGenerate, handleRun inputs and outputs.
  • [x] - Review if there is a need to export other helper functions from utils.
  • [ ] - Review Respect Monitoring type duplicates in Reunite. https://github.com/Redocly/redocly-cli/issues/2125

DmitryAnansky avatar Jun 24 '25 15:06 DmitryAnansky