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

JsonSchema.NET Integration #1278

Merged
merged 225 commits into from
Nov 21, 2023
Merged

Conversation

MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Jun 19, 2023

…t how to perform upcasting from OpenApiSchema to JsonSchema
@@ -29,7 +29,7 @@ public abstract class ValidationRule
/// Class containing validation rule logic for <see cref="IOpenApiElement"/>.
/// </summary>
/// <typeparam name="T"></typeparam>
public class ValidationRule<T> : ValidationRule where T : IOpenApiElement
public class ValidationRule<T> : ValidationRule
Copy link
Member

Choose a reason for hiding this comment

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

Ugh. This is because JsonSchema doesn't implement this interface. Hmm, that seems like it is going to cause us problems.

Copy link
Member

@darrelmiller darrelmiller left a comment

Choose a reason for hiding this comment

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

It's looking good. I just added a few comments that we should address. Specifically those related to dependencies on the YAML libraries.

Copy link

sonarcloud bot commented Nov 21, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug D 5 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 19 Code Smells

2.1% 2.1% Coverage
20.7% 20.7% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@MaggieKimani1 MaggieKimani1 merged commit 8058d24 into release/2.0.0 Nov 21, 2023
11 of 12 checks passed
@MaggieKimani1 MaggieKimani1 deleted the mk/integrate-json-schema-library branch November 21, 2023 14:41
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