liquid and Newtonsoft don't support JSON Schema Draft 2020-12 which is what OpenAPI 3.1 is based upon.
If you want another solid .Net package, you can try https://www.nuget.org/packages/JsonSchema.Net.OpenApi