Skip to content

Commit

Permalink
oa test t2
Browse files Browse the repository at this point in the history
  • Loading branch information
DumpySquare committed Dec 12, 2022
1 parent cde5811 commit 75bb204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/suite/next_oai_validation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ suite('NEXT CM OpenApi Schema Validation', () => {

test('simple validate', async () => {

const reqBody = {
const reqBody: unknown = {
"address": "10.145.10.1",
"device_password": "admin",
"device_user": "admin",
Expand All @@ -25,7 +25,7 @@ suite('NEXT CM OpenApi Schema Validation', () => {
const req: OpenApiRequest = {
method: "POST",
route: "/api/device/v1/inventory",
body: reqBody
body: reqBody as unknown
};

const openApiValidator = new OpenApiValidator({
Expand Down

0 comments on commit 75bb204

Please sign in to comment.