You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating the schema for the RestConfiguration entity, default boolean values are written as string.
For instance, the useXForwardHeaders property is defined with a "true" default value:
useXForwardHeaders: {type: 'boolean',title: 'Use XForward Headers',description: 'Whether to use X-Forward headers for Host and related setting. The default value is true.',default: "true",},
This commit adds support for RestConfiguration entity.
Note:
The node validation is still pending due to an issue with the
JSONSchema, please see KaotoIO#969 for more details.
fix: KaotoIO#562
relates: KaotoIO#969
This commit adds support for RestConfiguration entity.
Note:
The node validation is still pending due to an issue with the
JSONSchema, please see KaotoIO#969 for more details.
fix: KaotoIO#562
relates: KaotoIO#969
This commit adds support for RestConfiguration entity.
Note:
The node validation is still pending due to an issue with the
JSONSchema, please see #969 for more details.
fix: #562
relates: #969
Describe the Bug
When creating the schema for the
RestConfiguration
entity, defaultboolean
values are written asstring
.For instance, the
useXForwardHeaders
property is defined with a"true"
default value:This causes issues with the
Ajv
validator.Original
useXForwardHeaders
field definitions:generated/resources/org/apache/camel/catalog/models/restConfiguration.json#L22)
Notes
This might also be happening for
number
default values, as seen in theerrorHandler.redeliveryPolicy
properties:Steps to Reproduce the Bug or Issue
aggregate-entities.json
file and check the default value for theuseXForwardHeaders
(among others)"default": "true"
, instead of"default": true
(mind the string)Screenshots or Videos
No response
Platform
The text was updated successfully, but these errors were encountered: