1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/src/lib/openapi/spec
Thomas Heartman 012da8469f
feat: add all feature variants to the playground payload (#1835)
* Chore: extract variant creation arbitrary.

* Feat: add "variants" as a required property on playground response

* Wip: fix up some schema generation

* Fix remaining openapi schemas

* Fix: add missing variants property

* Feat: test for variants

* Feat: add `variants` property to playground response

* Chore: update openapi snapshot
2022-07-20 08:54:34 +02:00
..
__snapshots__ OAS for client-api metrics.ts (#1753) 2022-06-30 13:27:12 +03:00
addon-parameter-schema.ts open-api addon controller (#1721) 2022-06-22 13:49:18 +03:00
addon-schema.test.ts open-api addon controller (#1721) 2022-06-22 13:49:18 +03:00
addon-schema.ts feat: support filtering on project and environment fields for events (#1801) 2022-07-12 12:13:25 +00:00
addon-type-schema.ts open-api addon controller (#1721) 2022-06-22 13:49:18 +03:00
addons-schema.test.ts open-api addon controller (#1721) 2022-06-22 13:49:18 +03:00
addons-schema.ts open-api addon controller (#1721) 2022-06-22 13:49:18 +03:00
api-token-schema.test.ts refactor: add OpenAPI schema to api-token controller (#1716) 2022-06-17 20:35:26 +01:00
api-token-schema.ts refactor: add OpenAPI schema to api-token controller (#1716) 2022-06-17 20:35:26 +01:00
api-tokens-schema.ts refactor: add OpenAPI schema to api-token controller (#1716) 2022-06-17 20:35:26 +01:00
application-schema.ts task: add OpenApi spec to metrics route (#1725) 2022-06-21 09:12:40 +02:00
applications-schema.ts task: add OpenApi spec to metrics route (#1725) 2022-06-21 09:12:40 +02:00
bootstrap-ui-schema.test.ts Feat: OpenAPI controller - Bootstrap UI (#1773) 2022-06-30 12:21:40 +00:00
bootstrap-ui-schema.ts Feat: OpenAPI controller - Bootstrap UI (#1773) 2022-06-30 12:21:40 +00:00
change-password-schema.test.ts Task/open api reset password (#1740) 2022-06-22 14:31:41 +03:00
change-password-schema.ts Task/open api reset password (#1740) 2022-06-22 14:31:41 +03:00
client-application-schema.test.ts refactor: add schemas to client application registration (#1746) 2022-06-24 15:29:27 +02:00
client-application-schema.ts refactor: add schemas to client application registration (#1746) 2022-06-24 15:29:27 +02:00
client-feature-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
client-features-query-schema.test.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
client-features-query-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
client-features-schema.test.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
client-features-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
client-metrics-schema.test.ts OAS for client-api metrics.ts (#1753) 2022-06-30 13:27:12 +03:00
client-metrics-schema.ts OAS for client-api metrics.ts (#1753) 2022-06-30 13:27:12 +03:00
client-variant-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
clone-feature-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
constraint-schema.test.ts refactor: add OpenAPI schema to constraints controller (#1683) 2022-06-09 10:35:39 +02:00
constraint-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
context-field-schema.test.ts refactor: add OpenAPI schema to context controller (#1711) 2022-06-17 10:11:55 +01:00
context-field-schema.ts refactor: add OpenAPI schema to context controller (#1711) 2022-06-17 10:11:55 +01:00
context-fields-schema.ts refactor: add OpenAPI schema to context controller (#1711) 2022-06-17 10:11:55 +01:00
create-api-token-schema.ts fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
create-feature-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
create-feature-strategy-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
create-user-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
date-schema.ts OAS for client-api metrics.ts (#1753) 2022-06-30 13:27:12 +03:00
email-schema.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
email-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
environment-schema.ts refactor: add OpenAPI schema to environments controller (#1682) 2022-06-10 10:04:56 +02:00
environments-schema.ts refactor: add OpenAPI schema to environments controller (#1682) 2022-06-10 10:04:56 +02:00
event-schema.test.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
event-schema.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
events-schema.test.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
events-schema.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
export-parameters-schema.ts Task/open api state (#1738) 2022-06-22 09:09:49 +02:00
feature-environment-metrics-schema.ts OAS for client-metrics controller (#1739) 2022-06-27 11:17:44 +03:00
feature-environment-schema.test.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
feature-environment-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
feature-events-schema.test.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
feature-events-schema.ts feat: add OpenAPI spec to events controller. (#1754) 2022-06-30 08:12:34 +00:00
feature-metrics-schema.test.ts OAS for client-metrics controller (#1739) 2022-06-27 11:17:44 +03:00
feature-metrics-schema.ts OAS for client-metrics controller (#1739) 2022-06-27 11:17:44 +03:00
feature-schema.test.ts refactor: remove response data from schema validation logging (#1748) 2022-06-24 13:44:16 +02:00
feature-schema.ts Added missing archivedAt to featureSchema (#1779) 2022-07-01 11:51:26 +00:00
feature-strategy-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
feature-strategy-segment-schema.ts Task/open api state (#1738) 2022-06-22 09:09:49 +02:00
feature-tag-schema.ts Task/open api state (#1738) 2022-06-22 09:09:49 +02:00
feature-type-schema.test.ts refactor: add OpenAPI schema to feature types controller (#1684) 2022-06-09 13:17:13 +02:00
feature-type-schema.ts refactor: add OpenAPI schema to feature types controller (#1684) 2022-06-09 13:17:13 +02:00
feature-types-schema.ts refactor: add OpenAPI schema to feature types controller (#1684) 2022-06-09 13:17:13 +02:00
feature-usage-schema.test.ts OAS for client-metrics controller (#1739) 2022-06-27 11:17:44 +03:00
feature-usage-schema.ts OAS for client-metrics controller (#1739) 2022-06-27 11:17:44 +03:00
feature-variants-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
features-schema.test.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
features-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
feedback-schema.ts refactor: add schemas to feedback controller (#1698) 2022-06-17 08:15:56 +02:00
health-check-schema.ts refactor: add OpenAPI schema to health-check controller (#1732) 2022-06-20 11:22:41 +01:00
health-overview-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
health-report-schema.ts refactor: add OpenAPI schemas to more controllers (#1680) 2022-06-08 15:31:34 +02:00
id-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
legal-value-schema.ts refactor: add OpenAPI schema to context controller (#1711) 2022-06-17 10:11:55 +01:00
login-schema.ts refactor: add OpenAPI schema to simple-password-provider controller (#1734) 2022-06-23 08:40:25 +01:00
me-schema.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
me-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
name-schema.ts refactor: add OpenAPI schema to context controller (#1711) 2022-06-17 10:11:55 +01:00
override-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
parameters-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
password-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
patch-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
patches-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
permission-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
playground-feature-schema.test.ts feat: add all feature variants to the playground payload (#1835) 2022-07-20 08:54:34 +02:00
playground-feature-schema.ts feat: add all feature variants to the playground payload (#1835) 2022-07-20 08:54:34 +02:00
playground-request-schema.test.ts feat: add playground API post endpoint (#1791) 2022-07-12 13:01:10 +02:00
playground-request-schema.ts feat: add playground API post endpoint (#1791) 2022-07-12 13:01:10 +02:00
playground-response-schema.test.ts feat: add all feature variants to the playground payload (#1835) 2022-07-20 08:54:34 +02:00
playground-response-schema.ts feat: add all feature variants to the playground payload (#1835) 2022-07-20 08:54:34 +02:00
project-environment-schema.ts refactor: add OpenAPI schemas to more controllers (#1680) 2022-06-08 15:31:34 +02:00
project-schema.ts refactor: add OpenAPI schemas to more controllers (#1680) 2022-06-08 15:31:34 +02:00
projects-schema.ts refactor: add OpenAPI schemas to more controllers (#1680) 2022-06-08 15:31:34 +02:00
reset-password-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
role-schema.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
role-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
sdk-context-schema.test.ts feat: add playground API post endpoint (#1791) 2022-07-12 13:01:10 +02:00
sdk-context-schema.ts feat: add playground API post endpoint (#1791) 2022-07-12 13:01:10 +02:00
segment-schema.ts open api implementation - client features controller (#1745) 2022-06-30 12:54:14 +03:00
sort-order-schema.test.ts refactor: add OpenAPI schema to environments controller (#1682) 2022-06-10 10:04:56 +02:00
sort-order-schema.ts refactor: add OpenAPI schema to environments controller (#1682) 2022-06-10 10:04:56 +02:00
splash-schema.ts refactor: add schemas to splash controller (#1697) 2022-06-10 15:11:07 +02:00
state-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
strategies-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
strategy-schema.test.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
strategy-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
tag-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
tag-type-schema.ts Feat: OpenAPI controller - Bootstrap UI (#1773) 2022-06-30 12:21:40 +00:00
tag-types-schema.ts task: add open-api for tag-types (#1700) 2022-06-14 09:06:41 +02:00
tag-with-version-schema.ts task: add openapi for tags (#1724) 2022-06-21 08:23:30 +02:00
tags-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
token-user-schema.test.ts refactor: add missing tokenUserSchema fields (#1742) 2022-06-22 15:37:26 +02:00
token-user-schema.ts refactor: add missing tokenUserSchema fields (#1742) 2022-06-22 15:37:26 +02:00
ui-config-schema.test.ts fix: add missing environments field to uiConfigSchema (#1736) 2022-06-21 09:34:07 +02:00
ui-config-schema.ts Feat: OpenAPI controller - Bootstrap UI (#1773) 2022-06-30 12:21:40 +00:00
update-api-token-schema.ts fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
update-feature-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
update-feature-strategy-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
update-tag-type-schema.ts fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
update-user-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
upsert-context-field-schema.ts fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
upsert-strategy-schema.ts refactor: add schemas to strategy controller (#1744) 2022-06-23 08:10:20 +02:00
user-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
users-schema.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
users-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
users-search-schema.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
users-search-schema.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
validate-password-schema.test.ts Task/open api reset password (#1740) 2022-06-22 14:31:41 +03:00
validate-password-schema.ts Task/open api reset password (#1740) 2022-06-22 14:31:41 +03:00
validate-tag-type-schema.ts fix: avoid 400s for unknown request body fields (#1737) 2022-06-21 10:33:03 +02:00
variant-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
variants-schema.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
version-schema.ts refactor: add OpenAPI schema to UI config controller (#1681) 2022-06-08 14:57:39 +02:00