Skip to content

Fix check Extensions object for null to avoid null reference exception - #1104

Merged
Vincent Biret (baywet) merged 1 commit into
microsoft:vnextfrom
quanterion:patch-1
Dec 9, 2022
Merged

Fix check Extensions object for null to avoid null reference exception#1104
Vincent Biret (baywet) merged 1 commit into
microsoft:vnextfrom
quanterion:patch-1

Conversation

@quanterion

Copy link
Copy Markdown
Contributor

using Microsoft.OpenApi.OData package it generates OpenApi document with OpenApiComponents.Extensions == null and usage of OpenApiWalker triggers an exception

using Microsoft.OpenApi.OData package it generates OpenApi document with OpenApiComponents.Extensions == null

@baywetVincent 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 a lot for the contribution!

@baywet
Vincent Biret (baywet) merged commit ebbe5c1 into microsoft:vnextDec 9, 2022
Sign up for freeto 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

@quanterion@baywet