OpenAPITools / OpenAPITools/openapi-generator

[BUG] Description

Open
#11,095 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

PS C:\Users\Shadow\Desktop> Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/5.3.0/openapi-generator-cli-5.3.0.jar

PS C:\Users\Shadow\Desktop> java -jar openapi-generator-cli.jar generate -i "C:\Users\Shadow\Downloads\Telegram Desktop\bluscream3-AutoMagic-1-resolved.json" -g javascript -o "S:\Projects\NodeJS\github-bot\am-api-js"

C:\Users\Shadow\Desktop>"C:\Program Files\Java\jre1.8.0_311\bin\java.exe" -jar -jar
Error: -jar requires jar file specification

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.

Research direction

Start by reproducing the Windows command sequence shown in the issue, paying particular attention to the final Java invocation and its duplicate -jar arguments. Compare that invocation with the preceding openapi-generator-cli.jar command and document whether the generator runs successfully with the corrected command.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi
Domain
api, cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.