Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Only schema for top level keys generated #38

@johnfrancisgit

Description

@johnfrancisgit

Is it correct that this only creates the schema from top level keys?
E.g

{
  extra: {
    point: {
      value: null,
      name: 'Bob',
    },
  },
}

has schema:

{
  type: 'object',
  properties: {
    extra: { type: 'object', properties: [Object], required: [Array] }
  },
  required: [ 'extra' ]
}

Is it possible to also generate populate the schema for nested fields point, value, name?

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