Skip to content

[JAVA] Why does Jetty create Services for top level domain and not tags #6218

@tht13

Description

@tht13
Description

While generating server impl stubs for Java Jax-RS using Jetty I have found that swagger-codegen will only generate seperate Service classes if I change the top level url route. My url definitions all lie under one top level route because of the data structure. this means I am endings up with one huge ApiServiceImpl class. I have tried this with Python and then I get controllers based on the tags with which I define the routes with (no route has two tags). Is this as designed or a bug?

Swagger-codegen version

2.2.3

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