-
Notifications
You must be signed in to change notification settings - Fork 264
JsonSchema.NET Integration #1278
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
Conversation
…-json-schema-library
…eserializer and cleaning up code
…t how to perform upcasting from OpenApiSchema to JsonSchema
…/use-json-node-for-parsing"
…' into mk/integrate-json-schema-library
src/Microsoft.OpenApi.Readers/V31/OpenApiSecurityRequirementDeserializer.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.OpenApi/Models/References/OpenApiHeaderReference.cs
Outdated
Show resolved
Hide resolved
@@ -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 |
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.
Ugh. This is because JsonSchema doesn't implement this interface. Hmm, that seems like it is going to cause us problems.
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.
It's looking good. I just added a few comments that we should address. Specifically those related to dependencies on the YAML libraries.
SonarCloud Quality Gate failed.
|
Uh oh!
There was an error while loading. Please reload this page.