Skip to content

java.util.Map is not imported #8121

Open
@githubgogogo

Description

@githubgogogo
Description

When I use swagger-codegen-maven-plugin maven plugin to generate API java code, the Map is not imported. I saw some similar issue raised but no code fix merged in master branch, could you please let me know when could the fix merged in master branch.

Swagger-codegen version

2.4.0-SNAPSHOT

Swagger declaration file content or url
  • name: searchCriteria
    required: false
    in: query
    type: object
    additionalProperties: {
    type: string
    }
Suggest a fix/enhancement

Please support Map in code generation

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