mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
7ea4e5d5b9
Unless you set `additionalProperties` to `false`, additional properties are always allowed. By explicitly setting it to `true` the generated examples contain additional properties, e.g.: ```json { "tokens": [ "aproject:development.randomstring", "[]:production.randomstring" ], "additionalProp1": {} } ``` By removing the explicit annotation, we still allow additional properties, but we don't get them in examples: ```json { "tokens": [ "aproject:development.randomstring", "[]:production.randomstring" ] } ``` |
||
---|---|---|
.. | ||
spec | ||
util | ||
index.test.ts | ||
index.ts | ||
meta-schema-rules.test.ts | ||
validate.test.ts | ||
validate.ts |