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
  • FAQ

FAQ · Changes

Page history
add faq on how test with the latest master authored Aug 31, 2020 by William Cheng's avatar William Cheng
Hide whitespace changes
Inline Side-by-side
FAQ.md
View page @ 8d187c2d
......@@ -35,8 +35,6 @@ Major releases will contain breaking changes (without fallbacks) so that users m
No, we do not support **all** new features (e.g. callback, anyOf, etc) at the moment. We would definitely welcome contributions from the community to add support for these new features. Please search the [issue tracker](https://github.com/OpenAPITools/openapi-generator/issues/) to see if anyone has opened a ticket to track the new feature. If no ticket has been opened yet, please open a new one and ideally a sample spec so that we can prioritize the feature request accordingly.
### How to debug OpenAPI Generator?
You can leverage the following debug flags when generating the libraries:
......@@ -147,6 +145,25 @@ As of Jun 2020, we've switched to `./bin/generate-samples.sh` for updating Petst
For Windows users, please run the script in [Git BASH](https://gitforwindows.org/)
### How to test with the latest master of OpenAPI Generator?
To test your OpenAPI/Swagger spec with the latest master to confirm whether the issue still exists, please try the following
- [Docker image](https://hub.docker.com/r/openapitools/openapi-generator-cli) for latest openapi-generator-cli: `docker pull openapitools/openapi-generator-cli:latest`
- [Docker image](https://hub.docker.com/r/openapitools/openapi-generator-online) for latest openapi-generator-online: `docker pull openapitools/openapi-generator-online:latest`
- Download the latest snapshot version of openapi-generator-cli JAR: https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/
- Build the project locally
1. git clone https://github.com/OpenAPITools/openapi-generator
1. cd openapi-generator
1. Build the project
1. `Windows`: mvnw.bat clean install
1. `Mac/Linux`: ./mvnw clean install
1. Run the CLI jar locally
1. `Windows`: java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -g ruby -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o C:\temp\ruby-client-test
1. `Mac/Linux`: java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g ruby -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o /var/tmp/ruby-client-test
## git
### How can I rebase my PR on the latest master?
......
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