OpenAPITools / OpenAPITools/openapi-generator-cli

[Question] How to provide a path to openapitools.json?

Open
#644 8 comments 5 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

In my project, I'm building two middlewares, for that, I have created two different configs files
image

To build middlewares the openapitools.json configs are being copied, built, and removed one by one.

What I'm trying to do is to create an npm command that will build middlewares with the provided path to the openapitools.json

Is it possible to provide a path to the openapitools.json?

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

Start by reviewing the two openapitools.json configuration files and the npm command used to build each middleware. Trace how the wrapper discovers its configuration path, then check existing command and configuration tests if available. Done means establishing whether a user-provided path is supported and defining the expected behavior for building both middleware configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, openapi, typescript
Domain
cli, tooling
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.