1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00

Test: allow non-standard string formats

This commit is contained in:
Thomas Heartman 2022-09-13 11:37:30 +02:00
parent 13206d88cb
commit d0500b6c1a

View File

@ -56,6 +56,11 @@ test('the generated OpenAPI spec is valid', async () => {
const [openapi, error, warning] = await enforcer(body, {
fullResult: true,
componentOptions: {
exceptionSkipCodes: [
'WSCH001', // allow non-standard formats for strings (including 'uri')
],
},
});
if (error !== undefined) {