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:
parent
6e9043e2f4
commit
30ed92cbbb
@ -24,6 +24,9 @@ export const featureEnvironmentSchema = {
|
||||
enabled: {
|
||||
type: 'boolean',
|
||||
},
|
||||
sortOrder: {
|
||||
type: 'number',
|
||||
},
|
||||
strategies: {
|
||||
type: 'array',
|
||||
items: {
|
||||
|
@ -1149,6 +1149,9 @@ exports[`should serve the OpenAPI spec 1`] = `
|
||||
"name": {
|
||||
"type": "string",
|
||||
},
|
||||
"sortOrder": {
|
||||
"type": "number",
|
||||
},
|
||||
"strategies": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/featureStrategySchema",
|
||||
|
Loading…
Reference in New Issue
Block a user