Skip to content

Fails to unmarshall free-form objects (additionalProperties) #153

@pcrespov

Description

@pcrespov

Current version can validate free-form objects but cannot unmarshall them.

A free-form object (arbitrary property/value pairs) is defined equivalently see reference as

type: object

or

type: object
additionalProperties: true

or

type: object
additionalProperties: {}

PR #121 address a related issue that solves validation but still unable to unmarshall. For instance, the example proposed by @berend in the same pull request cannot be unmarshalled as demonstrated in a tests I did in my fork

Any hint on how to overcome/fix this?

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