Redocly / Redocly/redocly-cli

Review and improve `respect-core` exports

Open
#2,147 0 comments 0 reactions 1 assignee View on GitHub

@DmitryAnansky is already working on this.

Since Jun 27, 2025.

p3 Respect Type: Enhancement Type: Maintenance v2
Dominant language
TypeScript
Stars
1.5k
Forks
228
Avg merge
1d 14h
Merged PRs (30d)
48

Description

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

Describe the solution you'd like

  • - 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.
  • - 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.
  • - 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.