8000 JSON Schema With AdditionalProperties=false · Issue #28 · everit-org/json-schema · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
JSON Schema With AdditionalProperties=false #28
Closed
@beeva-pablovaliente

Description

@beeva-pablovaliente

Hi all,

When we are trying to validate a JSON Body against a JSON Schema that has set the additionalProperties to false, we are founding that the Schema.validate() function just return the first parameter that it is not permitted. We can see that behavior in the org.everit.json.schema.ObjectSchema class at line 279. (Version 1.1.1)

We have seen that there is a commit (

.map(unneeded -> String.format("extraneous key [%s] is not permitted", unneeded))
) that resolves this behavior.

When will be this new version available to download from Maven repository?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0