Skip to content

.Net: Fix mapping issue of the required payload properties#9453

Merged
SergeyMenshykh merged 1 commit intomicrosoft:mainfrom
SergeyMenshykh:fix-required-payload-props
Oct 29, 2024
Merged

.Net: Fix mapping issue of the required payload properties#9453
SergeyMenshykh merged 1 commit intomicrosoft:mainfrom
SergeyMenshykh:fix-required-payload-props

Conversation

@SergeyMenshykh
Copy link
Member

Motivation, Context and Description

This PR fixes the issue of mapping the required flag in the OpenAPI document to the IsRequired property of the RestApiOperationPayloadProperty model class, which manifested for descendants of the root payload properties.

…d the required flag in the OpenAPI document not to map correctly to the required property of the model class.
@SergeyMenshykh SergeyMenshykh added the openapi Issues related to the OpenAPI function importer label Oct 29, 2024
@SergeyMenshykh SergeyMenshykh self-assigned this Oct 29, 2024
@SergeyMenshykh SergeyMenshykh requested a review from a team as a code owner October 29, 2024 10:24
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Oct 29, 2024
@SergeyMenshykh SergeyMenshykh changed the title .Net: Fix mapping issue of the required payload property .Net: Fix mapping issue of the required payload properties Oct 29, 2024
@SergeyMenshykh SergeyMenshykh added this pull request to the merge queue Oct 29, 2024
Merged via the queue into microsoft:main with commit 664e7c2 Oct 29, 2024
@SergeyMenshykh SergeyMenshykh deleted the fix-required-payload-props branch October 29, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code openapi Issues related to the OpenAPI function importer

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants