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

Update lifcyecle open API schema with new enums

This commit is contained in:
melindafekete 2025-01-22 17:08:03 +01:00
parent 91550ca981
commit d729e3e3d0
No known key found for this signature in database
3 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ export const featureLifecycleSchema = {
properties: { properties: {
stage: { stage: {
type: 'string', type: 'string',
enum: ['initial', 'pre-live', 'live', 'completed', 'archived'], enum: ['define', 'develop', 'production', 'cleanup', 'archived'],
example: 'initial', example: 'initial',
description: description:
'The name of the lifecycle stage that got recorded for a given feature', 'The name of the lifecycle stage that got recorded for a given feature',

View File

@ -164,10 +164,10 @@ export const featureSchema = {
description: 'The name of the current lifecycle stage', description: 'The name of the current lifecycle stage',
type: 'string', type: 'string',
enum: [ enum: [
'initial', 'define',
'pre-live', 'develop',
'live', 'production',
'completed', 'cleanup',
'archived', 'archived',
], ],
example: 'initial', example: 'initial',

View File

@ -152,10 +152,10 @@ export const featureSearchResponseSchema = {
description: 'The name of the current lifecycle stage', description: 'The name of the current lifecycle stage',
type: 'string', type: 'string',
enum: [ enum: [
'initial', 'define',
'pre-live', 'develop',
'live', 'production',
'completed', 'cleanup',
'archived', 'archived',
], ],
example: 'initial', example: 'initial',