Skip to content

fix: Validate schema property is not null - #2468

Merged
Vincent Biret (baywet) merged 2 commits into
microsoft:mainfrom
cliedeman:feat/validate-null-property
Aug 20, 2025
Merged

fix: Validate schema property is not null#2468
Vincent Biret (baywet) merged 2 commits into
microsoft:mainfrom
cliedeman:feat/validate-null-property

Conversation

@cliedeman

@cliedeman Ciaran Liedeman (cliedeman) commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Fixes microsoft/kiota#6846 throw error is schema property is null

@cliedeman
Ciaran Liedeman (cliedeman) requested a review from a team as a code owner August 18, 2025 20:02
Comment thread src/Microsoft.OpenApi/Properties/SRResource.Designer.cs

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@baywet

Copy link
Copy Markdown
Member

Ciaran Liedeman (@cliedeman) with the other PR being merged first (#2459 ), the resource file is conflicting.
Can you please merge the changes? (the easiest is probably to accept all incoming changes, and then re-generate the designer file)

Comment thread src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs Fixed
@cliedeman

Copy link
Copy Markdown
Contributor Author

Thanks Vincent Biret (@baywet). Updated

@cliedeman
Ciaran Liedeman (cliedeman) force-pushed the feat/validate-null-property branch 3 times, most recently from 2a60c79 to ae892d9 Compare August 19, 2025 13:50

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

auto-merge was automatically disabled August 19, 2025 20:10

Head branch was pushed to by a user without write access

@cliedeman

Copy link
Copy Markdown
Contributor Author

Fixed tests

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

@baywet
Vincent Biret (baywet) enabled auto-merge (squash) August 20, 2025 12:44
@baywet
Vincent Biret (baywet) merged commit 3326022 into microsoft:main Aug 20, 2025
14 of 16 checks passed
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.

The following schema causes null exception during generation

3 participants