Skip to content

Override additionalProperties using jsDoc annotation #2336

@rgilsimoes

Description

@rgilsimoes

In the original typescript-json-schema it was possible to override the additionalProperties using jsDoc annotation
Is it possible to do the same here?

Example:

type:

/* 
 * @additionalProperties true
 */
type MyEspecialType = {
        myKnownProperty: string;
}

schema:

"MyEspecialType ": {
      "additionalProperties": true,
      "properties": {
        "myKnownProperty": {
          "type": "string"
        }
}

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