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

Fixes casing for innerError property in MainError #393

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

andrueastman
Copy link
Member

Related to microsoftgraph/msgraph-sdk-dotnet#1916

This fixes the casing in the default property name for innerError. This leads to generation of models with the property as innererror causing failing deserialization of the property and therefore the property moved to the additionalData.

Additionally, the metadata defines the property as being camelCased while the generated openApi results in the property name as innererror

<Property Name="innerError" Type="graph.publicInnerError">
  <Annotation Term="Org.OData.Core.V1.Description" String="Details of the inner error." />
</Property>

@andrueastman andrueastman self-assigned this Jun 14, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@andrueastman andrueastman merged commit 9bc5d29 into master Jun 14, 2023
@andrueastman andrueastman deleted the andrueastman/fixdefaultCasing branch June 14, 2023 13:23
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