OpenAPITools / OpenAPITools/openapi-generator

[Announcement] How can I generate to c??

Open
#12,004 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Announcement
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

I install openapi-generator cli in Ubuntu

But I had a Error like below

Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/5/oss-parent-5.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/5/oss-parent-5.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.openapitools:openapi-generator-project:6.0.0-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:5 from/to sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots): Connection reset and 'parent.relativePath' points at no local POM @ line 2, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.openapitools:openapi-generator-project:6.0.0-SNAPSHOT (/home/jinyoungbang/gitProject/openapi-generator/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.openapitools:openapi-generator-project:6.0.0-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:5 from/to sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots): Connection reset and 'parent.relativePath' points at no local POM @ line 2, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

How can I generate to c-client?

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 with the openapi-generator CLI installation and C-client generation instructions, then inspect the root pom.xml and the reported Maven resolution failure. Reproduce the Ubuntu installation problem and determine whether the documented CLI path can generate a C client successfully; document the required steps and expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java, openapi, ubuntu
Domain
api, cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.