swagger-api / swagger-api/swagger-codegen

Fix documentation

Open
#9,742 3 comments 1 reaction 1 assignee View on GitHub

@HugoMario is already working on this.

Since Oct 5, 2019.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Please fix documentation here.

Swagger-codegen version

4.0.2

Swagger declaration file content or url
<plugin>
    <groupId>io.swagger</groupId>
    <artifactId>swagger-codegen-maven-plugin</artifactId>
    <version>>4.0.2</version>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <inputSpec>${project.basedir}/src/main/resources/api.yaml</inputSpec>
                <language>java</language>
                <configOptions>
                   <sourceFolder>src/gen/java/main</sourceFolder>
                </configOptions>
            </configuration>
        </execution>
    </executions>
</plugin>
Command line used for generation

openapi-generator:generate -f pom.xml

An error

[ERROR] Failed to execute goal io.swagger:swagger-codegen-maven-plugin:>4.0.2:generate (default-cli) on project demo: The parameters 'inputSpec', 'language' for goal io.swagger:swagger-codegen-maven-plugin:>4.0.2:generate are missing or invalid -> [Help 1]

Suggest a fix/enhancement

Move tag from to section.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.