mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
chore: allow openapi "date" format of strings (#8837)
This change opens up the possibility of using the "date" format for strings in our OpenAPI spec. According to the official docs, [`date` is a built-in string format](https://swagger.io/docs/specification/v3_0/data-models/data-types/#string-formats).
This commit is contained in:
parent
cf741c6845
commit
5d553d0c7b
@ -17,6 +17,7 @@ const ajv = new Ajv({
|
||||
keywords: ['example', 'x-enforcer-exception-skip-codes'],
|
||||
formats: {
|
||||
'date-time': true,
|
||||
date: true,
|
||||
uri: true,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user