William Cheng

Results 984 comments of William Cheng

CI failure not related to the change: https://github.com/OpenAPITools/openapi-generator/runs/8072408542?check_suite_focus=true

Thanks for the PR. cc @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04)

Tests passed via https://app.travis-ci.com/github/OpenAPITools/openapi-generator/builds/254267675

Any one has more feedback on this change? cc @jaumard (2018/09) @josh-burton (2019/12) @amondnet (2019/12) @sbu-WBT (2020/12) @kuhnroyal (2020/12) @agilob (2020/12) @ahmednfwela (2021/08)

> add a default content-type or allow empty request bodies with empty content-types. I prefer the latter. May I know if you can help contribute a fix for it?

cc @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04)

Please try the option `generateAliasAsModel`, which will generate array, map as models

Doc: https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator-maven-plugin I think the first one should work ...

@roostapour based on what you provided, looks like it's a bug. A good starting point is https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java and search for `isGenerateAliasAsModel`

@jeffmikels thanks for the PR. I would suggest breaking down the PR into smaller one for easier review and merge. What about filing a separate for the following change to...