Skip to content

How to generate kotlin data classes from a json schema rather than a json data file? #423

@KodyFernandes

Description

@KodyFernandes

How does one generate kotlin data classes from a json schema rather than a json data file?
Is there a checkbox I'm missing to specify that the provided json is a schema rather than data?
I see this feature mentioned in the README but when passing a json schema file to the plugin it treats the schema file like normal json data.
The plugin generates schema specific fields (id, type, title, description, etc.) in the kotlin classes rather than the fields specified in the schema properties fields, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions