コード例 #1
0
        public UnitTest1(ITestOutputHelper testOutputHelper)
        {
            output    = testOutputHelper;
            ruleSet   = new OpenApiValidationRuleSet();
            inspector = new OpenApiInspector(ruleSet);
            walker    = new OpenApiWalker(inspector);
            OpenApiDiagnostic diagnostic;

            document = new OpenApiStreamReader().Read(File.OpenRead(".\\petstore.yaml"), out diagnostic);
        }
コード例 #2
0
 public abstract void Evaluate(OpenApiInspector context, object item);