-
Notifications
You must be signed in to change notification settings - Fork 241
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
Feature/plugin #1258
Conversation
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.
CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
@darrelmiller there are 16 code smells on your PR. Would you mind doing a cleanup pass before we review please? |
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
@baywet I got it down to 3 smells and they are not too smelly. |
src/Microsoft.OpenApi.Hidi/Extensions/OpenApiExtensibleExtensions.cs
Outdated
Show resolved
Hide resolved
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>
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.
thanks for making the changes
Kudos, SonarCloud Quality Gate passed! |
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.