Skip to content

Commit

Permalink
Test #104 once more
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Dec 4, 2024
1 parent 8b84e90 commit ce1c7dc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/features/issues/test_issue_104_upgrade_v20_allOf.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { TestValidator } from "@nestia/e2e";
import { OpenApi, SwaggerV2 } from "@samchon/openapi";
import {
HttpLlm,
IHttpLlmApplication,
OpenApi,
SwaggerV2,
} from "@samchon/openapi";
import fs from "fs";
import typia from "typia";

Expand All @@ -18,4 +23,10 @@ export const test_issue_104_upgrade_v20_allOf = async (): Promise<void> => {
TestValidator.predicate("allOf")(
() => JSON.stringify(document).indexOf("#/definitions") === -1,
);

const app: IHttpLlmApplication<"claude"> = HttpLlm.application({
model: "claude",
document,
});
TestValidator.equals("errors")(app.errors.length)(0);
};

0 comments on commit ce1c7dc

Please sign in to comment.