-
Notifications
You must be signed in to change notification settings - Fork 283
Open api example comparer #331
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
Conversation
- OpenApiInfo - OpenApiContact - OpenApiLicense - OpenApiExternalDocs - OpenApiSecurityRequirements - OpenApiTag
| return; | ||
| } | ||
|
|
||
| if (string.Compare(sourceValue, targetValue, StringComparison.CurrentCultureIgnoreCase) != 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CurrentCultureIgnoreCase [](start = 74, length = 24)
InvariantCulture
We should not ignore case here. #Resolved
| if (string.IsNullOrWhiteSpace(sourceValue) && string.IsNullOrWhiteSpace(targetValue)) | ||
| { | ||
| return; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this special handling? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .GetComparer<IDictionary<string, OpenApiServerVariable>>() | ||
| .Compare(sourceServer.Variables, sourceServer.Variables, comparisonContext)); | ||
|
|
||
| // To Do compare extensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing these "// To Do compare extensions" comments? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will be tracking this work as an issue on github instead of adding these ToDo
In reply to: 225337695 [](ancestors = 225337695)
PerthCharern
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
Open api example comparer