swagger-api / swagger-api/swagger-codegen
Fix documentation
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.