forked from loafle/openapi-generator-original
* Support annotationLibrary=none in JavaClientCodegen * Add example using annotationLibrary=swagger1 * Support annotationLibrary=none in libraries * Fix missing curly brace. * fix if statement condition * Support {{#swagger1AnnotationLibrary}} in java/rest-assured * Adopt JavaModelTest * Generate docs * Generate samples * clean up java feign files * clean up feign samples * fix resttemplate, native * fix resttemplate withXml * fix webclient * fix java-jersey2, vertix * fix googleapi client * fix rest assured * fix rest assured * update apache-httpclient * fix jersey2 special character * fix resteasy * fix jersey2 * update samples * fix jersey2, okhttp streaming * update okhttp-gson * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
petstore-rest-assured
Requirements
Building the API client library requires Maven to be installed.
Installation & Usage
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.
After the client library is installed/deployed, you can use it in your Maven project by adding the following to your pom.xml:
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>petstore-rest-assured</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Recommendation
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.