Skip to content

Problems with Swagger docs for APIs in separate WARs on one server #1600

@botchniaque

Description

@botchniaque

I have 3 JAX-RS (1.0) APIs .war files in a single .ear file deployed on a Glassfish server.

in version 1.5.4 I was facing some bootstrap problems - I did not get the pattern yet, but sometimes paths and definitions were not there (probably BeanConfig.resourcePackage cached other API's values.

in version 1.5.6 I get Swagger docs only for the API that was called first. Calling Swagger for other APIs after first one got initialized returns HTTP 404. I have seen the commit making the 'initialized' flag static

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions