Skip to content

JsonSchema.NET Integration - #1278

Merged
Maggie Kimani (MaggieKimani1) merged 225 commits into
release/2.0.0from
mk/integrate-json-schema-library
Nov 21, 2023
Merged

JsonSchema.NET Integration#1278
Maggie Kimani (MaggieKimani1) merged 225 commits into
release/2.0.0from
mk/integrate-json-schema-library

Conversation

@MaggieKimani1

@MaggieKimani1Maggie Kimani (MaggieKimani1) commented Jun 19, 2023

Copy link
Copy Markdown
Contributor

…t how to perform upcasting from OpenApiSchema to JsonSchema
Comment threadsrc/Microsoft.OpenApi.Readers/V31/OpenApiSecurityRequirementDeserializer.cs Outdated
Comment threadsrc/Microsoft.OpenApi/Microsoft.OpenApi.csproj Outdated
Comment threadsrc/Microsoft.OpenApi/Microsoft.OpenApi.csproj Outdated
Comment threadsrc/Microsoft.OpenApi/Models/OpenApiConstants.cs Outdated
Comment threadsrc/Microsoft.OpenApi/Models/OpenApiParameter.cs Outdated
Comment threadsrc/Microsoft.OpenApi/Models/References/OpenApiHeaderReference.cs Outdated
Comment threadsrc/Microsoft.OpenApi/Services/OpenApiReferenceResolver.cs
/// </summary>
/// <typeparam name="T"></typeparam>
public class ValidationRule<T> : ValidationRule where T : IOpenApiElement
public class ValidationRule<T> : ValidationRule

Copy link
Copy Markdown
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.

Comment threadsrc/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs Outdated
Comment threadsrc/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs

@darrelmillerDarrel (darrelmiller) left a comment

Copy link
Copy Markdown
Member

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.

@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed. Quality Gate failed

BugD5 Bugs
VulnerabilityA0 Vulnerabilities
Security HotspotA0 Security Hotspots
Code SmellA19 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 sonarlintSonarLint

@MaggieKimani1
Maggie Kimani (MaggieKimani1) merged commit 8058d24 into release/2.0.0Nov 21, 2023
@MaggieKimani1
Maggie Kimani (MaggieKimani1) deleted the mk/integrate-json-schema-library branch November 21, 2023 14:41
Sign up for freeto 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.

5 participants

@MaggieKimani1@baywet@darrelmiller@github-advanced-security@irvinesunday