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

fix: Add missing sortOrder property (#2940)

Add sortOrder property to some OpenAPI schemas
This commit is contained in:
Gastón Fournier 2023-01-20 08:46:01 +01:00 committed by GitHub
parent 6e9043e2f4
commit 30ed92cbbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,9 @@ export const featureEnvironmentSchema = {
enabled: {
type: 'boolean',
},
sortOrder: {
type: 'number',
},
strategies: {
type: 'array',
items: {

View File

@ -1149,6 +1149,9 @@ exports[`should serve the OpenAPI spec 1`] = `
"name": {
"type": "string",
},
"sortOrder": {
"type": "number",
},
"strategies": {
"items": {
"$ref": "#/components/schemas/featureStrategySchema",