OpenAPITools / OpenAPITools/openapi-generator-cli

[Idea] Provide API Interface

Open
#689 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2k
Forks
208
Avg merge
7h 12m
Merged PRs (30d)
6

Description

What do you about the idea to have an API interface in addition to CLI?

A bit of context, we're currently using openapi-generator-cli for our internal tools and call it as a child process, it would be more practical to have it as a function or class with params listed in TypeScript

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

The issue names no files or tests; begin by locating the package's existing CLI entry point and reviewing how it invokes openapi-generator. Before implementation, establish the public TypeScript function or class, its parameters, and expected behavior, then document tests that demonstrate the API works without spawning the CLI process.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.