William Cheng

Results 466 comments of William Cheng

thanks for reporting the issue. i've filed https://github.com/OpenAPITools/openapi-generator/pull/18297 to fix it

PR merged. please pull the latest master to give it a try to use the snapshot version mentioned in the project's readme

just did another test with `go` and looks good to me: ``` // checks if the Bar type satisfies the MappedNullable interface at compile time var _ MappedNullable = &Bar{}...

Sorry. I didn't test it correctly. I'm now able to repeat the issue but couldn't find a solution yet. please revert to 3.0.1 spec for the time being

@am-on I've filed https://github.com/OpenAPITools/openapi-generator/pull/18577, which seems to fix the issue ```diff diff --git a/model_bar.go b/model_bar.go index 0f57fe5..0ed5ca1 100644 --- a/model_bar.go +++ b/model_bar.go @@ -21,7 +21,7 @@ var _ MappedNullable =...

thanks for testing the fix, which has been merged

@thorstenhirsch thanks again for the PR. as this PR now changes 1300+ files, which is not easy to review (the file diff page is taking a long time to load)....

what about the following instead? ``` #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum Option1OrOption2Options { ArrayVecString(Vec), ArrayVeci32(Vec), } ```

> Thank you for looking at the PR. Unfortunately I do not have a Java development environment to build the project and examples. I might try https://github.com/OpenAPITools/openapi-generator?tab=readme-ov-file#development-in-docker . yes, please...

please file a PR to start with and we'll review the PR accordingly.