mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
d6f2424152
Fixes the spring java code generator so that the ApiResponse fields are populated correctly on the controller. Related to #4693 |
||
---|---|---|
.. | ||
src | ||
.swagger-codegen-ignore | ||
pom.xml | ||
README.md |
swagger-petstore-spring-cloud
Requirements
Building the API client library requires Maven to be installed.
Installation
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
Maven users
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-petstore-spring-cloud</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Gradle users
Add this dependency to your project's build file:
compile "io.swagger:swagger-petstore-spring-cloud:1.0.0"
Others
At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/swagger-petstore-spring-cloud-1.0.0.jar
- target/lib/*.jar