Skip to content

Commit

Permalink
Add date and time formats
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Nov 21, 2023
1 parent c03b1d3 commit 5a93ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import addFormats from 'ajv-formats'
const ajv = new Ajv({
strict: false
})
addFormats(ajv)
addFormats(ajv, ['date', 'time'])

/**
* @typedef {import('./schema.d.ts').OpenAPIV3.BaseSchemaObject} BaseSchemaObject
Expand Down

0 comments on commit 5a93ebb

Please sign in to comment.