Skip to content

Commit

Permalink
handle all formats
Browse files Browse the repository at this point in the history
  • Loading branch information
jbolda committed Jun 21, 2024
1 parent ea5a0bc commit 422e80e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/foundation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@ export function createFoundationSimulationServer<
definition: mergedOAS,
apiRoot,
customizeAjv: (ajv) => {
addFormats(ajv, {
mode: "fast",
formats: ["email", "uri", "date-time", "uuid"],
});

addFormats(ajv);
return ajv;
},
});
Expand Down

0 comments on commit 422e80e

Please sign in to comment.