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

Assessment

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

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.

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?

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

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.

More from OpenAPITools/openapi-generator-cli

All issues in OpenAPITools/openapi-generator-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.