1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi
Gastón Fournier 19982ecbc7
chore: test requirements for openapi (#3511)
## About the changes
This enables us to validate the shape of our OpenAPI schemas by defining
specific json-schema rules that will be evaluated against all our open
API schemas.

Because we know there are things we need to improve, we've added a list
of `knownExceptions`. When fixing some of the known exceptions the tests
will force us to remove the exception from the list, that way
contributing to reducing the number of violations to our own rules.

Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-04-14 10:37:17 +02:00
..
spec chore: Improve openapi documentation for tags (#3496) 2023-04-12 09:34:32 +00:00
util chore: support for additional media (#3247) 2023-03-06 12:44:12 +01:00
endpoint-descriptions.ts fix: Fix broken OpenAPI (#2379) 2022-11-10 22:55:01 +01:00
index.test.ts chore: test requirements for openapi (#3511) 2023-04-14 10:37:17 +02:00
index.ts chore: test requirements for openapi (#3511) 2023-04-14 10:37:17 +02:00
meta-schema-rules.test.ts chore: test requirements for openapi (#3511) 2023-04-14 10:37:17 +02:00
validate.test.ts refactor: add OpenAPI schema to constraints controller (#1683) 2022-06-09 10:35:39 +02:00
validate.ts feat: extend refs in openapi (#3170) 2023-02-22 13:10:29 +01:00