You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomohisa Igarashi (Jira)" <ji...@apache.org> on 2023/08/04 11:13:00 UTC
[jira] [Commented] (CAMEL-19700) camel-yaml-dsl: Add "additionalProperties: false" on every properties in the schema
[ https://issues.apache.org/jira/browse/CAMEL-19700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751084#comment-17751084 ]
Tomohisa Igarashi commented on CAMEL-19700:
-------------------------------------------
Turned out CAMEL-19698 and CAMEL-19699 somehow intervenes from doing this. Looking into it.
> camel-yaml-dsl: Add "additionalProperties: false" on every properties in the schema
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-19700
> URL: https://issues.apache.org/jira/browse/CAMEL-19700
> Project: Camel
> Issue Type: Task
> Components: camel-yaml-dsl
> Affects Versions: 4.0-RC2
> Reporter: Tomohisa Igarashi
> Assignee: Tomohisa Igarashi
> Priority: Major
>
> Currently the camel-yaml-dsl.json schema file doesn't have "additionalProperties: false" on each properties. Since this property is "true" by default, if not explicitly specified to "false", schema validator allows arbitrary properties. In order to make this schema file work for validation, we'd want to add "additionalProperties: false" on every properties. The schema generator plugin already has that option.
> https://issues.apache.org/jira/browse/CAMEL-18829
--
This message was sent by Atlassian Jira
(v8.20.10#820010)