Skip to content

Add a useTags flag to allow tags to be used to generate interface / controller classnames #4387

@eamon316

Description

@eamon316
Description

Currently SpringCodegen uses the basePath to generate classname for interface / controller.

I would like to be able to use tags to control the generated classnames (this appears to be the pattern for most other generators).

Just wondering if there is any particular issue why the SpringCodegen uses basePath and if there are any known issues with using tags?

Swagger-codegen version

2.2.2-SNAPSHOT

Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues
Suggest a Fix

I have added a pull request with proposed changes #4607

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions