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

fix: open API link reference proxy design pattern implementation #2092

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

baywet
Copy link
Member

@baywet baywet commented Jan 24, 2025

partial #1998, review #2091 first

@baywet baywet self-assigned this Jan 24, 2025
@baywet baywet mentioned this pull request Jan 24, 2025
@@ -66,7 +66,7 @@
Description = response?.Description ?? Description;
Headers = response?.Headers != null ? new Dictionary<string, IOpenApiHeader>(response.Headers) : null;
Content = response?.Content != null ? new Dictionary<string, OpenApiMediaType>(response.Content) : null;
Links = response?.Links != null ? new Dictionary<string, OpenApiLink>(response.Links) : null;
Links = response?.Links != null ? new Dictionary<string, IOpenApiLink>(response.Links) : null;

Check warning

Code scanning / CodeQL

Virtual call in constructor or destructor Warning

Avoid virtual calls in a constructor or destructor.
Copy link
Member Author

Choose a reason for hiding this comment

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

this will get fixed when we fix the proxy design pattern implementation for OpenAPI Response

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
55.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Base automatically changed from fix/headers-reference to dev January 28, 2025 06:59
@MaggieKimani1 MaggieKimani1 marked this pull request as ready for review January 28, 2025 09:36
@MaggieKimani1 MaggieKimani1 merged commit 6a96462 into dev Jan 28, 2025
13 of 14 checks passed
@MaggieKimani1 MaggieKimani1 deleted the fix/link-reference branch January 28, 2025 09:39
@baywet baywet added this to the v2-Preview6 milestone Jan 28, 2025
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.

2 participants