... | ... | @@ -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?
|
... | ... | |