Skip to content
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

.Net: Handle missing operation id in OpenApi spec #7344

Conversation

markwallace-microsoft
Copy link
Member

@markwallace-microsoft markwallace-microsoft commented Jul 18, 2024

Motivation and Context

Closes #7343
Closes #5598

Description

Contribution Checklist

@markwallace-microsoft markwallace-microsoft requested a review from a team as a code owner July 18, 2024 08:28
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Jul 18, 2024
@github-actions github-actions bot changed the title Handle missing operation id in OpenApi spec .Net: Handle missing operation id in OpenApi spec Jul 18, 2024
@markwallace-microsoft markwallace-microsoft force-pushed the users/markwallace/issue_7343 branch 2 times, most recently from 8945772 to a307893 Compare July 18, 2024 12:04
@markwallace-microsoft markwallace-microsoft force-pushed the users/markwallace/issue_7343 branch from a307893 to 4af5174 Compare July 18, 2024 12:58
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Jul 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 18, 2024
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Jul 22, 2024
foreach (string token in tokens)
{
// Removes all characters that are not ASCII letters, digits, and underscores.
string formattedToken = RemoveInvalidCharsRegex().Replace(token, "");
Copy link
Contributor

@RogerBarret0 RogerBarret0 Jul 22, 2024

Choose a reason for hiding this comment

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

nit. string.Empty

Suggested change
string formattedToken = RemoveInvalidCharsRegex().Replace(token, "");
string formattedToken = RemoveInvalidCharsRegex().Replace(token, string.Empty);

Merged via the queue into microsoft:main with commit d2f0044 Jul 22, 2024
15 checks passed
@markwallace-microsoft markwallace-microsoft deleted the users/markwallace/issue_7343 branch July 22, 2024 15:57
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
### Motivation and Context

Closes microsoft#7343 
Closes microsoft#5598 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
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
Projects
None yet
6 participants