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