Skip to content

Conversation

@Shwetap05
Copy link
Member

Open api example comparer

- OpenApiInfo
- OpenApiContact
- OpenApiLicense
- OpenApiExternalDocs
- OpenApiSecurityRequirements
- OpenApiTag
return;
}

if (string.Compare(sourceValue, targetValue, StringComparison.CurrentCultureIgnoreCase) != 0)
Copy link
Contributor

@PerthCharern PerthCharern Oct 15, 2018

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;
}
Copy link
Contributor

@PerthCharern PerthCharern Oct 15, 2018

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

Copy link
Member Author

Choose a reason for hiding this comment

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

i don't think so


In reply to: 225337275 [](ancestors = 225337275)

.GetComparer<IDictionary<string, OpenApiServerVariable>>()
.Compare(sourceServer.Variables, sourceServer.Variables, comparisonContext));

// To Do compare extensions
Copy link
Contributor

@PerthCharern PerthCharern Oct 15, 2018

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

Copy link
Member Author

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)

Copy link
Contributor

@PerthCharern PerthCharern left a comment

Choose a reason for hiding this comment

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

:shipit:

@Shwetap05 Shwetap05 merged commit 3eb2200 into vnext Oct 16, 2018
@darrelmiller darrelmiller deleted the OpenApiExampleComparer branch February 28, 2021 18:55
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.

3 participants