Skip to content

Commit

Permalink
fix(Config Schema): Recognize boolean format for provider.logs.restApi
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Oct 1, 2020
1 parent 4a3216c commit ab5cdd1
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions lib/plugins/aws/provider/awsProvider.js
Expand Up @@ -563,22 +563,27 @@ class AwsProvider {
],
},
restApi: {
type: 'object',
properties: {
accessLogging: { type: 'boolean' },
executionLogging: { type: 'boolean' },
format: { type: 'string' },
fullExecutionData: { type: 'boolean' },
level: { enum: ['INFO', 'ERROR'] },
role: { $ref: '#/definitions/awsArn' },
roleManagedExternally: { type: 'boolean' },
},
oneOf: [
{ required: [] },
{ required: ['role'] },
{ required: ['roleManagedExternally'] },
{ type: 'boolean' },
{
type: 'object',
properties: {
accessLogging: { type: 'boolean' },
executionLogging: { type: 'boolean' },
format: { type: 'string' },
fullExecutionData: { type: 'boolean' },
level: { enum: ['INFO', 'ERROR'] },
role: { $ref: '#/definitions/awsArn' },
roleManagedExternally: { type: 'boolean' },
},
oneOf: [
{ required: [] },
{ required: ['role'] },
{ required: ['roleManagedExternally'] },
],
additionalProperties: false,
},
],
additionalProperties: false,
},
websocket: {
oneOf: [
Expand Down

0 comments on commit ab5cdd1

Please sign in to comment.