Skip to content

Models with different packages are not represented uniquely in the generated swagger document #1008

@tenstriker

Description

@tenstriker

I have two version of same POST API. One is written in Java and another one in scala. They both have a request parameter called 'DataRequest' but one is java and one is in scala. i.e. com.mycompany.java.DataRequest and com.mycompany.scala.DataRequest. However in swagger I only see scala version of DataRequest in body parameter. If I remove scala based controller from swagger 'paths' then I do see java version of DataRequest. I read about this issue in spec but I can't find them again and can someone explain how to resolve that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions