Skip to content

Commit

Permalink
#2516 Fix additional props in openapi health schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulius Grabauskas committed Feb 15, 2024
1 parent 67e532d commit d66af87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/health-check/health-check.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ const healthIndicatorSchema = (example: HealthIndicatorResult) => ({
example,
additionalProperties: {
type: 'object',
additionalProperties: true,
required: ['status'],
properties: {
status: {
type: 'string',
},
},
additionalProperties: {
type: 'object',
},
},
});

Expand Down

0 comments on commit d66af87

Please sign in to comment.