1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-15 01:16:22 +02:00

Fix openapi tests (#3549)

## About the changes
Update tests due to fixes introduced in
2da279b7fb

This PR removes the fixes from the exceptions' list
This commit is contained in:
Gastón Fournier 2023-04-18 10:17:23 +02:00 committed by GitHub
parent fe85b8dcbd
commit c97294aee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -100,7 +100,6 @@ const metaRules: Rule[] = [
'contextFieldSchema', 'contextFieldSchema',
'createApiTokenSchema', 'createApiTokenSchema',
'createFeatureSchema', 'createFeatureSchema',
'createFeatureStrategySchema',
'createInvitedUserSchema', 'createInvitedUserSchema',
'createUserSchema', 'createUserSchema',
'emailSchema', 'emailSchema',
@ -166,7 +165,6 @@ const metaRules: Rule[] = [
'splashSchema', 'splashSchema',
'stateSchema', 'stateSchema',
'strategiesSchema', 'strategiesSchema',
'strategySchema',
'tagTypeSchema', 'tagTypeSchema',
'tagTypesSchema', 'tagTypesSchema',
'tagWithVersionSchema', 'tagWithVersionSchema',
@ -240,7 +238,6 @@ const metaRules: Rule[] = [
'featureMetricsSchema', 'featureMetricsSchema',
'featureSchema', 'featureSchema',
'featuresSchema', 'featuresSchema',
'featureStrategySchema',
'featureStrategySegmentSchema', 'featureStrategySegmentSchema',
'featureTypeSchema', 'featureTypeSchema',
'featureTypesSchema', 'featureTypesSchema',
@ -291,7 +288,6 @@ const metaRules: Rule[] = [
'splashSchema', 'splashSchema',
'stateSchema', 'stateSchema',
'strategiesSchema', 'strategiesSchema',
'strategySchema',
'tagTypeSchema', 'tagTypeSchema',
'tagTypesSchema', 'tagTypesSchema',
'tagWithVersionSchema', 'tagWithVersionSchema',

View File

@ -7,7 +7,11 @@ const OPENAPI_TAGS = [
description: description:
'Create, update, and delete [Unleash addons](https://docs.getunleash.io/addons).', 'Create, update, and delete [Unleash addons](https://docs.getunleash.io/addons).',
}, },
{ name: 'Admin UI', description: 'Configure the Unleash Admin UI.' }, {
name: 'Admin UI',
description:
'Configure the Unleash Admin UI. Why did you enable an experimental feature?',
},
{ {
name: 'API tokens', name: 'API tokens',
description: description:

View File

@ -9618,7 +9618,7 @@ If the provided project does not exist, the list of events will be empty.",
"name": "Addons", "name": "Addons",
}, },
{ {
"description": "Configure the Unleash Admin UI.", "description": "Configure the Unleash Admin UI. Why did you enable an experimental feature?",
"name": "Admin UI", "name": "Admin UI",
}, },
{ {