Skip to content

Rust: Additional properties mixed & properties #383

@BelfordZ

Description

@BelfordZ

There are a few different types of object schemas

  1. properties is used, additional props unused
  2. props unused, addtional props used
  3. both are used

at least for now, when additional props is used on its own, we should give the type HashMap<String, ..>.

If just props is used, it should be a simple struct.

If both are used, it should be a struct alongside a flattened AdditionalProps field.

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