1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/openapi
Thomas Heartman 7ea4e5d5b9
chore: remove additionalProperterties: true annotation. (#4508)
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"
  ]
}
```
2023-08-16 11:17:05 +02:00
..
spec chore: remove additionalProperterties: true annotation. (#4508) 2023-08-16 11:17:05 +02:00
util openapi: Add new tags for API operations. (#4432) 2023-08-07 13:17:53 +02:00
index.test.ts feat: base path support for openapi (#3780) 2023-05-16 12:01:47 +02:00
index.ts OpenAPI: remaining schema updates (#4354) 2023-07-28 07:25:34 +00:00
meta-schema-rules.test.ts OpenAPI: remaining schema updates (#4354) 2023-07-28 07:25:34 +00:00
validate.test.ts refactor: add OpenAPI schema to constraints controller (#1683) 2022-06-09 10:35:39 +02:00
validate.ts openapi: update ui-config endpoints (#4280) 2023-07-19 17:18:47 +02:00