Skip to content

Use targetPackage when javaType begins with a period character #195

@tcharman

Description

@tcharman

Using the maven plugin 0.3.6 I set targetPackage to com.foo and I declare in my json schema

        "myType": 
        {
            "description": "My Type",
            "type": "object",
            "javaType": "MyType",
            "additionalProperties": false,
            "properties": 
...

This generates a class called MyType that is in package com.foo (as I don't fully qualify the javaType). Now I upgraded to 0.4.2, and the type is generated with no package, only the top level package in the schema file is generated in the targetPackage package.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions