Skip to content

Conversation

@mariotoffia
Copy link

@mariotoffia mariotoffia commented Aug 12, 2022

This fixes issue #13166

@wing328
Copy link
Member

wing328 commented Aug 23, 2022

@mariotoffia thanks for the fix. Can you please PM me via Slack when you've time? Just a few quick questions.

https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g

cc @antihax (2017/11) @grokify (2018/07) @kemokemo (2018/09) @jirikuncar (2021/01) @ph4r5h4d (2021/04)

@hallm4
Copy link

hallm4 commented Dec 20, 2022

Any update on this? We have also encountered this issue internally, and are waiting on this fix.

dimuon added a commit to dimuon/terraform-provider-elasticstack that referenced this pull request Apr 12, 2023
OpenApi generator produces incorrect code for `RunConnector200ResponseData`
in generated/kibanaactions/model_run_connector_200_response_data.go
It doesn't strip curly braces from the field names.

It looks like there is a fix for the issue:
OpenAPITools/openapi-generator#13167

As for now the code is fixed manually.
dimuon added a commit to dimuon/terraform-provider-elasticstack that referenced this pull request Apr 12, 2023
OpenApi generator produces incorrect code for `RunConnector200ResponseData`
in generated/kibanaactions/model_run_connector_200_response_data.go
It doesn't strip curly braces from the field names.

It looks like there is a fix for the issue:
OpenAPITools/openapi-generator#13167

As for now the code is fixed manually.
@wing328
Copy link
Member

wing328 commented Aug 10, 2023

the latest master has better support for oneOf in the go client generators. please give it a try.

if this PR is still needed, please file a new one instead. thank you.

@wing328 wing328 closed this Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants