I recently upgraded my ASP.NET Web API project to .NET 8. Now I have a lot of warnings related to NJsonSchema.JsonObjectType NJsonSchema.JsonSchema.get_Type().
Error on apply rule ‘NotEmpty’ for property ‘ResetPasswordRequest.token’
System.MissingMethodException: Method not found: ‘NJsonSchema.JsonObjectType NJsonSchema.JsonSchema.get_Type()’.
at ZymLabs.NSwag.FluentValidation.FluentValidationSchemaProcessor.<>c.b__9_6(RuleContext context) at ZymLabs.NSwag.FluentValidation.FluentValidationSchemaProcessor.ApplyRulesToSchema(SchemaProcessorContext context, IValidator validator)
Library versions:
Thanks for helping
i tried to downgrade library version but not compatible with .net 8
Saber Rajabi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.