Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Wiki
  • Integration Tests

Integration Tests · Changes

Page history
Updated Integration Tests (markdown) authored Mar 23, 2021 by Patrick McGleenon's avatar Patrick McGleenon
Show whitespace changes
Inline Side-by-side
Integration-Tests.md
View page @ 0fd6249a
...@@ -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
Clone repository
  • API client generator HOWTO
  • Building your own Templates
  • Customizing client code generation
  • FAQ
  • Git Branches
  • Home
  • How to add a generator for a new language or framework
  • Integration Tests
  • Migration Guide
  • Mustache Template Variables
  • Pull Request Checklist
  • Release Checklist
  • Samples folder
  • Server stub generator HOWTO
  • Vendor Extensions
View All Pages