Skip to content

swagger-jaxrs2-jakarta not generating spec when wars exploded on Wildfly/JBoss #4925

Open
@hlavavit

Description

@hlavavit

This is not an issue with this library, but with the classgraph library used by swagger-jaxrs2-jakarta on Wildfly/JBoss

When the ear/wars are exploded in developement mode by IDE, the classgraph library fails to find annotated classes. This causes it to work when deployed but not when developing (really confusing for someone trying to get it to work).

This issue has been caused by pullrequest in classgraph v4.8.174 and fixed in issue classgraph/classgraph#896 but not yet released.

Update of classgraph will be necessary after new version containing this fix releases.

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