William Cheng

Results 983 comments of William Cheng

> ). What's the best way in java to insert booleans for all the possible mime-types? Other than a 20-clauses else-if, that'd be a stinky code smell 😄 another way...

fyi. filed https://github.com/OpenAPITools/openapi-generator/pull/19474 to mark current erlang-server as deprecated (just in case users need a fallback)

https://github.com/OpenAPITools/openapi-generator/actions/runs/10724043335/job/29762060240?pr=19465 can you please update the samples when you've time?

FYI. Merged https://github.com/OpenAPITools/openapi-generator/pull/19547 to provide `erlang-server-deprecated` as a fallback

have you tried enabling the normalizer rule `SET_PRIMITIVE_TYPES_TO_NULLABLE`? this will add `nullable:true` to the primitive type set in the rule and I think the output should meet your requirement https://github.com/openapitools/openapi-generator/blob/master/docs/customization.md#openapi-normalizer

just merged. thanks again for the PR when you've time this coming week, can you please PM me via Slack? https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g

thanks for the PR please follow step 3 to regenerate the samples so that CI can verify the change

I wonder if you can add a test or 2 in https://github.com/OpenAPITools/openapi-generator/blob/7d59c0eb01960caf05d10d1472808497548f56d0/samples/openapi3/client/petstore/python/tests/test_api_client.py#L184

@ChristophMatthies did you test the fix locally using customized templates (e.g. -t via cli)?

👌 will get it merged and see if anyone from the community can contribute a test or 2 later