... | @@ -31,3 +31,15 @@ To test it locally, please run `mvn integration-test` |
... | @@ -31,3 +31,15 @@ To test it locally, please run `mvn integration-test` |
|
Please update [pom.xml](https://github.com/openapitools/openapi-generator/blob/master/pom.xml).
|
|
Please update [pom.xml](https://github.com/openapitools/openapi-generator/blob/master/pom.xml).
|
|
|
|
|
|
For example, search for "ruby" in pom.xml to see how the Ruby petstore folder is added.
|
|
For example, search for "ruby" in pom.xml to see how the Ruby petstore folder is added.
|
|
|
|
|
|
|
|
**3. Run the test server locally**
|
|
|
|
|
|
|
|
To setup the test server locally, please run
|
|
|
|
|
|
|
|
`docker pull swaggerapi/petstore`
|
|
|
|
|
|
|
|
`docker run -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore`
|
|
|
|
|
|
|
|
and add the following entry to your host table:
|
|
|
|
|
|
|
|
`127.0.0.1 petstore.swagger.io` |
|
|
|
\ No newline at end of file |