Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad codegen for some cases of additional properties #1069

Open
jhendrixMSFT opened this issue Nov 7, 2023 · 0 comments
Open

Bad codegen for some cases of additional properties #1069

jhendrixMSFT opened this issue Nov 7, 2023 · 0 comments

Comments

@jhendrixMSFT
Copy link
Member

For type:

https://github.com/Azure/autorest.testserver/blob/main/swagger/additionalProperties.json#L273-L294

The generated unmarshaller:

https://github.com/Azure/autorest.go/blob/main/packages/autorest.go/test/autorest/additionalpropsgroup/zz_models_serde.go#L83-L109

It's looking for a field named AdditionalProperties which is incorrect.

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

No branches or pull requests

1 participant