Skip to content

Ensure all properties in additionalProperties bag are serialized in camelCase #1095

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

Merged
merged 10 commits into from
Mar 3, 2022

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Feb 17, 2022

This PR fixes a serialization issue where a request fails when a derived type's properties are declared in PascalCase. This PR adds a directive that forces AutoREST.PowerShell to always serialize additional properties in camelCase.

Related to https://docs.microsoft.com/en-us/graph/api/conditionalaccessroot-post-namedlocations?view=graph-rest-1.0&tabs=powershell#request.

@peombwa peombwa merged commit f65b54c into dev Mar 3, 2022
@peombwa peombwa deleted the bugfixes/additionalPropertiesSerialization branch March 3, 2022 22:44
@peombwa peombwa mentioned this pull request Mar 3, 2022
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.

2 participants