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

Feature/plugin #1258

Merged
merged 29 commits into from
Jun 15, 2023
Merged

Feature/plugin #1258

merged 29 commits into from
Jun 15, 2023

Conversation

darrelmiller
Copy link
Member

@darrelmiller darrelmiller commented May 30, 2023

Adds a preview plugin command to enable generating OpenAI plugin manifests from an API Manifest file.
Adds a languageFormat property to settings to enable generating "PowerShell" style OpenAPI from CSDL.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@baywet
Copy link
Member

baywet commented Jun 7, 2023

@darrelmiller there are 16 code smells on your PR. Would you mind doing a cleanup pass before we review please?

Comment on lines +37 to +46
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, "Command failed");
throw; // so debug tools go straight to the source of the exception when attached
#else
logger.LogCritical(ex.Message);
return 1;
#endif
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
@darrelmiller
Copy link
Member Author

@baywet I got it down to 3 smells and they are not too smelly.

MaggieKimani1
MaggieKimani1 previously approved these changes Jun 9, 2023
darrelmiller and others added 4 commits June 12, 2023 11:50
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
baywet
baywet previously approved these changes Jun 15, 2023
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

thanks for making the changes

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

88.6% 88.6% Coverage
0.0% 0.0% Duplication

@peombwa peombwa merged commit 9d82233 into vnext Jun 15, 2023
@peombwa peombwa deleted the feature/plugin branch June 15, 2023 19:01
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.

4 participants