Allow package version to be passed on CLI (Rust fix)#1286
Allow package version to be passed on CLI (Rust fix)#1286bjgill merged 3 commits intoOpenAPITools:masterfrom Metaswitch:packageVersion
Conversation
|
@frol (2017/07) @farcaller (2017/08) @bjgill (2017/12) |
bjgill
left a comment
There was a problem hiding this comment.
I'd already reviewed this before submission. I'll leave it for a few days before merging to give others a chance to comment.
Also, I think I make an incorrect suggestion as to the branch that this should be on. Given that this is a back-compatible change, it should be against master. We're currently working off 4.0.x, but that's fine, because master is periodically merged into 4.0.x. I'll rebase accordingly to fix my mistake.
|
@MF1-MS thanks for the contribution, which has been included in the 4.0.0-beta release: https://twitter.com/oas_generator/status/1079727020374806529. Happy New Year and looking forward to more collaboration and contributions in 2019! |
This MR allows package version to be specified in Rust in the generate argument list, with the argument `-DpackageVersion=<package_version>`. If this argument is present then the version in the resulting Cargo.toml file will be the passed value. If this argument is not present then the version in the OpenAPI definition file will be used, as per current behavior.
This MR allows package version to be specified in Rust in the generate argument list, with the argument
-DpackageVersion=<package_version>. If this argument is present then the version in the resulting Cargo.toml file will be the passed value. If this argument is not present then the version in the OpenAPI definition file will be used, as per current behavior.