Skip to content

Commit

Permalink
fix: Add missing sortOrder property (#2940)
Browse files Browse the repository at this point in the history
Add sortOrder property to some OpenAPI schemas
  • Loading branch information
Gastón Fournier committed Jan 20, 2023
1 parent 6e9043e commit 30ed92c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/openapi/spec/feature-environment-schema.ts
Expand Up @@ -24,6 +24,9 @@ export const featureEnvironmentSchema = {
enabled: {
type: 'boolean',
},
sortOrder: {
type: 'number',
},
strategies: {
type: 'array',
items: {
Expand Down
Expand Up @@ -1149,6 +1149,9 @@ exports[`should serve the OpenAPI spec 1`] = `
"name": {
"type": "string",
},
"sortOrder": {
"type": "number",
},
"strategies": {
"items": {
"$ref": "#/components/schemas/featureStrategySchema",
Expand Down

0 comments on commit 30ed92c

Please sign in to comment.